pub struct Restrictions { /* private fields */ }Implementations§
Source§impl Restrictions
impl Restrictions
pub fn from_model(model: Vec<Restriction>) -> Self
pub fn iter(&self) -> impl Iterator<Item = &Restriction>
Trait Implementations§
Source§impl Clone for Restrictions
impl Clone for Restrictions
Source§fn clone(&self) -> Restrictions
fn clone(&self) -> Restrictions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Restrictions
impl Debug for Restrictions
Source§impl Default for Restrictions
impl Default for Restrictions
Source§fn default() -> Restrictions
fn default() -> Restrictions
Returns the “default value” for a type. Read more
Source§impl Output for Restrictions
impl Output for Restrictions
Auto Trait Implementations§
impl Freeze for Restrictions
impl RefUnwindSafe for Restrictions
impl Send for Restrictions
impl Sync for Restrictions
impl Unpin for Restrictions
impl UnsafeUnpin for Restrictions
impl UnwindSafe for Restrictions
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