Struct decthings_api::rpc::fs::LookupParams
source · pub struct LookupParams<'a, T: AsRef<[u8]>> {
pub model_id: &'a str,
pub snapshot_id: Option<&'a str>,
pub parent: u64,
pub name: T,
}
Fields§
§model_id: &'a str
The model’s id.
snapshot_id: Option<&'a str>
If provided, the filesystem of the snapshot will be used. Otherwise, the filesystem of the model will be used.
parent: u64
Inode number of the parent directory.
name: T
Filename within the parent directory.
Trait Implementations§
source§impl<'a, T: Clone + AsRef<[u8]>> Clone for LookupParams<'a, T>
impl<'a, T: Clone + AsRef<[u8]>> Clone for LookupParams<'a, T>
source§fn clone(&self) -> LookupParams<'a, T>
fn clone(&self) -> LookupParams<'a, T>
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 moreAuto Trait Implementations§
impl<'a, T> Freeze for LookupParams<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for LookupParams<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for LookupParams<'a, T>where
T: Send,
impl<'a, T> Sync for LookupParams<'a, T>where
T: Sync,
impl<'a, T> Unpin for LookupParams<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for LookupParams<'a, T>where
T: UnwindSafe,
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