pub struct ExpectedSessionRevision {
pub expected_session_revision: i64,
}Fields§
§expected_session_revision: i64Exact current revision. A terminal session with this revision is returned unchanged; a stale revision conflicts.
Trait Implementations§
Source§impl Clone for ExpectedSessionRevision
impl Clone for ExpectedSessionRevision
Source§fn clone(&self) -> ExpectedSessionRevision
fn clone(&self) -> ExpectedSessionRevision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for ExpectedSessionRevision
impl ComposeSchema for ExpectedSessionRevision
Source§impl Debug for ExpectedSessionRevision
impl Debug for ExpectedSessionRevision
Source§impl<'de> Deserialize<'de> for ExpectedSessionRevision
impl<'de> Deserialize<'de> for ExpectedSessionRevision
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 ExpectedSessionRevision
Source§impl PartialEq for ExpectedSessionRevision
impl PartialEq for ExpectedSessionRevision
Source§impl Serialize for ExpectedSessionRevision
impl Serialize for ExpectedSessionRevision
impl StructuralPartialEq for ExpectedSessionRevision
Auto Trait Implementations§
impl Freeze for ExpectedSessionRevision
impl RefUnwindSafe for ExpectedSessionRevision
impl Send for ExpectedSessionRevision
impl Sync for ExpectedSessionRevision
impl Unpin for ExpectedSessionRevision
impl UnsafeUnpin for ExpectedSessionRevision
impl UnwindSafe for ExpectedSessionRevision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.