Enum CallDirection
#[non_exhaustive]pub enum CallDirection {
Unknown,
Incoming,
Outgoing,
Other(i32),
}Expand description
The direction of a call.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
The direction is not known.
Incoming
The call is incoming.
Outgoing
The call is outgoing.
Other(i32)
A value that this version of the crate doesn’t know.
Implementations§
§impl CallDirection
impl CallDirection
Trait Implementations§
§impl Clone for CallDirection
impl Clone for CallDirection
§fn clone(&self) -> CallDirection
fn clone(&self) -> CallDirection
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 moreimpl Copy for CallDirection
§impl Debug for CallDirection
impl Debug for CallDirection
§impl<'de> Deserialize<'de> for CallDirection
impl<'de> Deserialize<'de> for CallDirection
§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 CallDirection
§impl From<CallDirection> for i32
impl From<CallDirection> for i32
§fn from(__value: CallDirection) -> Self
fn from(__value: CallDirection) -> Self
Converts to this type from the input type.
§impl From<CallDirection> for Value<'static>
impl From<CallDirection> for Value<'static>
§fn from(__value: CallDirection) -> Self
fn from(__value: CallDirection) -> Self
Converts to this type from the input type.
§impl From<i32> for CallDirection
impl From<i32> for CallDirection
§impl Hash for CallDirection
impl Hash for CallDirection
§impl PartialEq for CallDirection
impl PartialEq for CallDirection
§impl Serialize for CallDirection
impl Serialize for CallDirection
impl StructuralPartialEq for CallDirection
§impl TryFrom<OwnedValue> for CallDirection
impl TryFrom<OwnedValue> for CallDirection
§impl<'__a> TryFrom<Value<'__a>> for CallDirection
impl<'__a> TryFrom<Value<'__a>> for CallDirection
§impl Type for CallDirection
impl Type for CallDirection
Auto Trait Implementations§
impl Freeze for CallDirection
impl RefUnwindSafe for CallDirection
impl Send for CallDirection
impl Sync for CallDirection
impl Unpin for CallDirection
impl UnsafeUnpin for CallDirection
impl UnwindSafe for CallDirection
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>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.