Struct nfs4::LayoutCommitArgs
source · pub struct LayoutCommitArgs {
pub offset: u64,
pub length: u64,
pub reclaim: bool,
pub state_id: StateId,
pub last_write_offset: Option<u64>,
pub time_modify: Option<Time>,
pub layout_update: LayoutUpdate,
}
Fields§
§offset: u64
§length: u64
§reclaim: bool
§state_id: StateId
§last_write_offset: Option<u64>
§time_modify: Option<Time>
§layout_update: LayoutUpdate
Trait Implementations§
source§impl Clone for LayoutCommitArgs
impl Clone for LayoutCommitArgs
source§fn clone(&self) -> LayoutCommitArgs
fn clone(&self) -> LayoutCommitArgs
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 LayoutCommitArgs
impl Debug for LayoutCommitArgs
source§impl<'de> Deserialize<'de> for LayoutCommitArgs
impl<'de> Deserialize<'de> for LayoutCommitArgs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LayoutCommitArgs> for ArgOp
impl From<LayoutCommitArgs> for ArgOp
source§fn from(original: LayoutCommitArgs) -> ArgOp
fn from(original: LayoutCommitArgs) -> ArgOp
Converts to this type from the input type.
source§impl PartialEq<LayoutCommitArgs> for LayoutCommitArgs
impl PartialEq<LayoutCommitArgs> for LayoutCommitArgs
source§fn eq(&self, other: &LayoutCommitArgs) -> bool
fn eq(&self, other: &LayoutCommitArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LayoutCommitArgs
impl Serialize for LayoutCommitArgs
impl Eq for LayoutCommitArgs
impl StructuralEq for LayoutCommitArgs
impl StructuralPartialEq for LayoutCommitArgs
Auto Trait Implementations§
impl RefUnwindSafe for LayoutCommitArgs
impl Send for LayoutCommitArgs
impl Sync for LayoutCommitArgs
impl Unpin for LayoutCommitArgs
impl UnwindSafe for LayoutCommitArgs
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