pub enum CursorCompatibility {
Compatible,
ScopeMismatch,
}Expand description
Enumerates the finite cursor compatibility cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Compatible
Use this variant when the contract needs to represent compatible; selecting it has no side effect by itself.
ScopeMismatch
Use this variant when the contract needs to represent scope mismatch; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for CursorCompatibility
impl Clone for CursorCompatibility
Source§fn clone(&self) -> CursorCompatibility
fn clone(&self) -> CursorCompatibility
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 Debug for CursorCompatibility
impl Debug for CursorCompatibility
Source§impl<'de> Deserialize<'de> for CursorCompatibility
impl<'de> Deserialize<'de> for CursorCompatibility
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 PartialEq for CursorCompatibility
impl PartialEq for CursorCompatibility
Source§fn eq(&self, other: &CursorCompatibility) -> bool
fn eq(&self, other: &CursorCompatibility) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CursorCompatibility
impl Serialize for CursorCompatibility
impl Copy for CursorCompatibility
impl Eq for CursorCompatibility
impl StructuralPartialEq for CursorCompatibility
Auto Trait Implementations§
impl Freeze for CursorCompatibility
impl RefUnwindSafe for CursorCompatibility
impl Send for CursorCompatibility
impl Sync for CursorCompatibility
impl Unpin for CursorCompatibility
impl UnsafeUnpin for CursorCompatibility
impl UnwindSafe for CursorCompatibility
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