pub struct PartialBlockRestrictions {
pub namespaces: Vec<i32>,
pub pages: Vec<PageBlockRestriction>,
pub actions: Vec<String>,
}
Fields§
§namespaces: Vec<i32>
§pages: Vec<PageBlockRestriction>
§actions: Vec<String>
Trait Implementations§
Source§impl Clone for PartialBlockRestrictions
impl Clone for PartialBlockRestrictions
Source§fn clone(&self) -> PartialBlockRestrictions
fn clone(&self) -> PartialBlockRestrictions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PartialBlockRestrictions
impl Debug for PartialBlockRestrictions
Source§impl<'de> Deserialize<'de> for PartialBlockRestrictions
impl<'de> Deserialize<'de> for PartialBlockRestrictions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PartialBlockRestrictions
impl RefUnwindSafe for PartialBlockRestrictions
impl Send for PartialBlockRestrictions
impl Sync for PartialBlockRestrictions
impl Unpin for PartialBlockRestrictions
impl UnwindSafe for PartialBlockRestrictions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more