pub struct MessagingAction {
pub name: String,
}Expand description
MessagingAction : A simple object containing the name of the template.
Fields§
§name: StringThe name of the template.
Implementations§
Source§impl MessagingAction
impl MessagingAction
Sourcepub fn new(name: String) -> MessagingAction
pub fn new(name: String) -> MessagingAction
A simple object containing the name of the template.
Trait Implementations§
Source§impl Clone for MessagingAction
impl Clone for MessagingAction
Source§fn clone(&self) -> MessagingAction
fn clone(&self) -> MessagingAction
Returns a duplicate 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 MessagingAction
impl Debug for MessagingAction
Source§impl Default for MessagingAction
impl Default for MessagingAction
Source§fn default() -> MessagingAction
fn default() -> MessagingAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessagingAction
impl<'de> Deserialize<'de> for MessagingAction
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 MessagingAction
impl PartialEq for MessagingAction
Source§impl Serialize for MessagingAction
impl Serialize for MessagingAction
impl StructuralPartialEq for MessagingAction
Auto Trait Implementations§
impl Freeze for MessagingAction
impl RefUnwindSafe for MessagingAction
impl Send for MessagingAction
impl Sync for MessagingAction
impl Unpin for MessagingAction
impl UnwindSafe for MessagingAction
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