#[non_exhaustive]pub struct StorageAccess {
pub read: AccessMode,
/* private fields */
}Expand description
Describes the access mechanism of the data within its storage location.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.read: AccessModeOutput only. Describes the read access mechanism of the data. Not user settable.
Implementations§
Source§impl StorageAccess
impl StorageAccess
Trait Implementations§
Source§impl Clone for StorageAccess
impl Clone for StorageAccess
Source§fn clone(&self) -> StorageAccess
fn clone(&self) -> StorageAccess
Returns a duplicate 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 StorageAccess
impl Debug for StorageAccess
Source§impl Default for StorageAccess
impl Default for StorageAccess
Source§fn default() -> StorageAccess
fn default() -> StorageAccess
Returns the “default value” for a type. Read more
Source§impl Message for StorageAccess
impl Message for StorageAccess
Source§impl PartialEq for StorageAccess
impl PartialEq for StorageAccess
impl StructuralPartialEq for StorageAccess
Auto Trait Implementations§
impl Freeze for StorageAccess
impl RefUnwindSafe for StorageAccess
impl Send for StorageAccess
impl Sync for StorageAccess
impl Unpin for StorageAccess
impl UnwindSafe for StorageAccess
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