Struct decthings_api::rpc::fs::SetattrParams
source · pub struct SetattrParams<'a> {
pub model_id: &'a str,
pub inode: u64,
pub mode: Option<u32>,
pub size: Option<u64>,
pub atime: Option<SetTime>,
pub mtime: Option<SetTime>,
}
Fields§
§model_id: &'a str
The model’s id.
inode: u64
Inode number of file.
mode: Option<u32>
If specified, file mode to set.
size: Option<u64>
If specified the file will be resized to this size.
atime: Option<SetTime>
If specified, set access time.
mtime: Option<SetTime>
If specified, set modified time.
Trait Implementations§
source§impl<'a> Clone for SetattrParams<'a>
impl<'a> Clone for SetattrParams<'a>
source§fn clone(&self) -> SetattrParams<'a>
fn clone(&self) -> SetattrParams<'a>
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<'a> Debug for SetattrParams<'a>
impl<'a> Debug for SetattrParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetattrParams<'a>
impl<'a> RefUnwindSafe for SetattrParams<'a>
impl<'a> Send for SetattrParams<'a>
impl<'a> Sync for SetattrParams<'a>
impl<'a> Unpin for SetattrParams<'a>
impl<'a> UnwindSafe for SetattrParams<'a>
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