pub struct SessionDefaultChatChangedAction {
pub default_chat: Option<Uri>,
}Expand description
The default chat input-routing hint for this session changed.
Fields§
§default_chat: Option<Uri>New default chat URI, or undefined to clear the hint.
Trait Implementations§
Source§impl Clone for SessionDefaultChatChangedAction
impl Clone for SessionDefaultChatChangedAction
Source§fn clone(&self) -> SessionDefaultChatChangedAction
fn clone(&self) -> SessionDefaultChatChangedAction
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 moreSource§impl Default for SessionDefaultChatChangedAction
impl Default for SessionDefaultChatChangedAction
Source§fn default() -> SessionDefaultChatChangedAction
fn default() -> SessionDefaultChatChangedAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionDefaultChatChangedAction
impl<'de> Deserialize<'de> for SessionDefaultChatChangedAction
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 SessionDefaultChatChangedAction
impl PartialEq for SessionDefaultChatChangedAction
Source§fn eq(&self, other: &SessionDefaultChatChangedAction) -> bool
fn eq(&self, other: &SessionDefaultChatChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionDefaultChatChangedAction
Auto Trait Implementations§
impl Freeze for SessionDefaultChatChangedAction
impl RefUnwindSafe for SessionDefaultChatChangedAction
impl Send for SessionDefaultChatChangedAction
impl Sync for SessionDefaultChatChangedAction
impl Unpin for SessionDefaultChatChangedAction
impl UnsafeUnpin for SessionDefaultChatChangedAction
impl UnwindSafe for SessionDefaultChatChangedAction
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