Struct seaplane_cli::ops::restrict::Restrictions
source · [−]pub struct Restrictions { /* private fields */ }Implementations
sourceimpl Restrictions
impl Restrictions
pub fn from_model(model: Vec<Restriction>) -> Self
pub fn iter(&self) -> impl Iterator<Item = &Restriction>
Trait Implementations
sourceimpl Clone for Restrictions
impl Clone for Restrictions
sourcefn clone(&self) -> Restrictions
fn clone(&self) -> Restrictions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Restrictions
impl Debug for Restrictions
sourceimpl Default for Restrictions
impl Default for Restrictions
sourcefn default() -> Restrictions
fn default() -> Restrictions
Returns the “default value” for a type. Read more
sourceimpl Output for Restrictions
impl Output for Restrictions
fn print_json(&self, _ctx: &Ctx) -> Result<()>
fn print_table(&self, ctx: &Ctx) -> Result<()>
sourceimpl Serialize for Restrictions
impl Serialize for Restrictions
Auto Trait Implementations
impl RefUnwindSafe for Restrictions
impl Send for Restrictions
impl Sync for Restrictions
impl Unpin for Restrictions
impl UnwindSafe for Restrictions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more