pub struct ClaimRefV1 {
pub lease_id: String,
pub fencing_token: u64,
}Expand description
The claim a write acts under: the lease id and its fencing token.
Fields§
§lease_id: String§fencing_token: u64Implementations§
Source§impl ClaimRefV1
impl ClaimRefV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for ClaimRefV1
impl Clone for ClaimRefV1
Source§impl Debug for ClaimRefV1
impl Debug for ClaimRefV1
Source§impl<'de> Deserialize<'de> for ClaimRefV1
impl<'de> Deserialize<'de> for ClaimRefV1
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
impl Eq for ClaimRefV1
Source§impl PartialEq for ClaimRefV1
impl PartialEq for ClaimRefV1
Source§impl Serialize for ClaimRefV1
impl Serialize for ClaimRefV1
impl StructuralPartialEq for ClaimRefV1
Auto Trait Implementations§
impl Forget for ClaimRefV1
impl Freeze for ClaimRefV1
impl Move for ClaimRefV1
impl RefUnwindSafe for ClaimRefV1
impl Send for ClaimRefV1
impl Sync for ClaimRefV1
impl Unpin for ClaimRefV1
impl UnsafeUnpin for ClaimRefV1
impl UnwindSafe for ClaimRefV1
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