pub struct NetworkVariablePermissions {
pub read: bool,
pub write: bool,
}Expand description
Local permission policy for a network-managed variable.
Fields§
§read: bool§write: boolImplementations§
Source§impl NetworkVariablePermissions
impl NetworkVariablePermissions
pub const NONE: Self
pub const READ_ONLY: Self
pub const WRITE_ONLY: Self
pub const READ_WRITE: Self
Trait Implementations§
Source§impl Clone for NetworkVariablePermissions
impl Clone for NetworkVariablePermissions
Source§fn clone(&self) -> NetworkVariablePermissions
fn clone(&self) -> NetworkVariablePermissions
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 moreimpl Copy for NetworkVariablePermissions
Source§impl Debug for NetworkVariablePermissions
impl Debug for NetworkVariablePermissions
impl Eq for NetworkVariablePermissions
Source§impl PartialEq for NetworkVariablePermissions
impl PartialEq for NetworkVariablePermissions
Source§fn eq(&self, other: &NetworkVariablePermissions) -> bool
fn eq(&self, other: &NetworkVariablePermissions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetworkVariablePermissions
Auto Trait Implementations§
impl Freeze for NetworkVariablePermissions
impl RefUnwindSafe for NetworkVariablePermissions
impl Send for NetworkVariablePermissions
impl Sync for NetworkVariablePermissions
impl Unpin for NetworkVariablePermissions
impl UnsafeUnpin for NetworkVariablePermissions
impl UnwindSafe for NetworkVariablePermissions
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