pub enum ButtonPurpose {
ImReplyWithText,
CallAccept,
CallDecline,
CallHangup,
CallEnableSpeakerphone,
CallDisableSpeakerphone,
SystemCustomAlert,
Other(String),
}
Expand description
The purpose of a button.
Variants§
ImReplyWithText
Instant messaging reply with text.
CallAccept
Accept call.
CallDecline
Decline call.
CallHangup
Hangup call.
CallEnableSpeakerphone
Enable speakerphone.
CallDisableSpeakerphone
Disable speakerphone.
SystemCustomAlert
System custom alert.
Other(String)
Vendor specific.
Trait Implementations§
Source§impl Clone for ButtonPurpose
impl Clone for ButtonPurpose
Source§fn clone(&self) -> ButtonPurpose
fn clone(&self) -> ButtonPurpose
Returns a copy of the value. Read more
1.0.0 · 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 ButtonPurpose
impl Debug for ButtonPurpose
Source§impl<'de> Deserialize<'de> for ButtonPurpose
impl<'de> Deserialize<'de> for ButtonPurpose
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 FromStr for ButtonPurpose
impl FromStr for ButtonPurpose
Source§impl PartialEq for ButtonPurpose
impl PartialEq for ButtonPurpose
Source§impl Serialize for ButtonPurpose
impl Serialize for ButtonPurpose
Source§impl Type for ButtonPurpose
impl Type for ButtonPurpose
impl Eq for ButtonPurpose
impl StructuralPartialEq for ButtonPurpose
Auto Trait Implementations§
impl Freeze for ButtonPurpose
impl RefUnwindSafe for ButtonPurpose
impl Send for ButtonPurpose
impl Sync for ButtonPurpose
impl Unpin for ButtonPurpose
impl UnwindSafe for ButtonPurpose
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§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.