pub struct ResourceSet {
pub workspace_read: bool,
pub network_read: bool,
pub workspace_write: bool,
pub network_write: bool,
}Expand description
Resource access summary (M2 minimal form; M3+ may split Fs/Net/Proc).
Fields§
§workspace_read: bool§network_read: bool§workspace_write: bool§network_write: boolImplementations§
Trait Implementations§
Source§impl Clone for ResourceSet
impl Clone for ResourceSet
Source§fn clone(&self) -> ResourceSet
fn clone(&self) -> ResourceSet
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 ResourceSet
impl Debug for ResourceSet
Source§impl Default for ResourceSet
impl Default for ResourceSet
Source§fn default() -> ResourceSet
fn default() -> ResourceSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceSet
impl<'de> Deserialize<'de> for ResourceSet
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
impl Eq for ResourceSet
Source§impl PartialEq for ResourceSet
impl PartialEq for ResourceSet
Source§fn eq(&self, other: &ResourceSet) -> bool
fn eq(&self, other: &ResourceSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResourceSet
impl Serialize for ResourceSet
impl StructuralPartialEq for ResourceSet
Auto Trait Implementations§
impl Freeze for ResourceSet
impl RefUnwindSafe for ResourceSet
impl Send for ResourceSet
impl Sync for ResourceSet
impl Unpin for ResourceSet
impl UnsafeUnpin for ResourceSet
impl UnwindSafe for ResourceSet
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