pub struct Command {
pub type_: Option<String>,
}Expand description
A single menu command that is part of a Contact.
This type is not used in any activity, and only used as part of another schema.
Fields§
§type_: Option<String>The type of operation this command corresponds to. Allowed values are:
- TAKE_A_NOTE - Shares a timeline item with the transcription of user speech from the “Take a note” voice menu command.
- POST_AN_UPDATE - Shares a timeline item with the transcription of user speech from the “Post an update” voice menu command.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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 Part for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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