Struct decthings_api::rpc::fs::ReadParams
source · pub struct ReadParams<'a> {
pub model_id: &'a str,
pub snapshot_id: Option<&'a str>,
pub inode: u64,
pub offset: u64,
pub count: u64,
}
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.
inode: u64
Inode number of file.
offset: u64
Where in the file to start reading.
count: u64
Number of bytes to read.
Trait Implementations§
source§impl<'a> Clone for ReadParams<'a>
impl<'a> Clone for ReadParams<'a>
source§fn clone(&self) -> ReadParams<'a>
fn clone(&self) -> ReadParams<'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 ReadParams<'a>
impl<'a> Debug for ReadParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReadParams<'a>
impl<'a> RefUnwindSafe for ReadParams<'a>
impl<'a> Send for ReadParams<'a>
impl<'a> Sync for ReadParams<'a>
impl<'a> Unpin for ReadParams<'a>
impl<'a> UnwindSafe for ReadParams<'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