pub struct CallState {
pub method: MethodName,
pub owned: Option<StateName>,
}Expand description
Combination of a method name and an optional state name used in API requests.
Fields§
§method: MethodName§owned: Option<StateName>Implementations§
Trait Implementations§
Source§impl Ord for CallState
impl Ord for CallState
Source§impl PartialOrd for CallState
impl PartialOrd for CallState
Source§impl StrictDecode for CallState
impl StrictDecode for CallState
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for CallState
impl StrictDumb for CallState
fn strict_dumb() -> Self
Source§impl StrictEncode for CallState
impl StrictEncode for CallState
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for CallState
impl StrictStruct for CallState
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for CallState
impl StrictType for CallState
const STRICT_LIB_NAME: &'static str = LIB_NAME_SONIC
fn strict_name() -> Option<TypeName>
impl Eq for CallState
impl StrictProduct for CallState
impl StructuralPartialEq for CallState
Auto Trait Implementations§
impl Freeze for CallState
impl RefUnwindSafe for CallState
impl Send for CallState
impl Sync for CallState
impl Unpin for CallState
impl UnwindSafe for CallState
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.