pub struct StorageDecl {
pub name: Name,
pub source: StorageDirectorySource,
pub backing_dir: Name,
pub subdir: RelativePath,
pub storage_id: StorageId,
}
Fields§
§name: Name
§source: StorageDirectorySource
§backing_dir: Name
§subdir: RelativePath
§storage_id: StorageId
Trait Implementations§
Source§impl Clone for StorageDecl
impl Clone for StorageDecl
Source§fn clone(&self) -> StorageDecl
fn clone(&self) -> StorageDecl
Returns a copy 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 StorageDecl
impl Debug for StorageDecl
Source§impl FidlIntoNative<StorageDecl> for Storage
impl FidlIntoNative<StorageDecl> for Storage
fn fidl_into_native(self) -> StorageDecl
Source§impl From<StorageDecl> for CapabilityDecl
impl From<StorageDecl> for CapabilityDecl
Source§fn from(f: StorageDecl) -> Self
fn from(f: StorageDecl) -> Self
Converts to this type from the input type.
Source§impl FromEnum<CapabilityDecl> for StorageDecl
impl FromEnum<CapabilityDecl> for StorageDecl
fn from_enum(e: &CapabilityDecl) -> Option<&Self>
Source§impl NativeIntoFidl<Storage> for StorageDecl
impl NativeIntoFidl<Storage> for StorageDecl
fn native_into_fidl(self) -> Storage
Source§impl PartialEq for StorageDecl
impl PartialEq for StorageDecl
impl Eq for StorageDecl
impl StructuralPartialEq for StorageDecl
Auto Trait Implementations§
impl Freeze for StorageDecl
impl RefUnwindSafe for StorageDecl
impl Send for StorageDecl
impl Sync for StorageDecl
impl Unpin for StorageDecl
impl UnwindSafe for StorageDecl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)