Struct decthings_api::rpc::fs::WriteParams
source · pub struct WriteParams<'a> {
pub model_id: &'a str,
pub inode: u64,
pub data: &'a [u8],
pub offset: u64,
pub truncate: Option<bool>,
}
Fields§
§model_id: &'a str
The model’s id.
inode: u64
Inode number of file.
data: &'a [u8]
§offset: u64
Where in the file to start writing.
truncate: Option<bool>
If true, the file will be truncate to zero length before writing.
Trait Implementations§
source§impl<'a> Clone for WriteParams<'a>
impl<'a> Clone for WriteParams<'a>
source§fn clone(&self) -> WriteParams<'a>
fn clone(&self) -> WriteParams<'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 WriteParams<'a>
impl<'a> Debug for WriteParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for WriteParams<'a>
impl<'a> RefUnwindSafe for WriteParams<'a>
impl<'a> Send for WriteParams<'a>
impl<'a> Sync for WriteParams<'a>
impl<'a> Unpin for WriteParams<'a>
impl<'a> UnwindSafe for WriteParams<'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