pub struct MessagesStateUpdate {
pub messages: Option<Vec<Message>>,
}Expand description
Update type for MessagesState
All fields are optional to support partial updates.
Fields§
§messages: Option<Vec<Message>>Optional messages update
Trait Implementations§
Source§impl Clone for MessagesStateUpdate
impl Clone for MessagesStateUpdate
Source§fn clone(&self) -> MessagesStateUpdate
fn clone(&self) -> MessagesStateUpdate
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 Debug for MessagesStateUpdate
impl Debug for MessagesStateUpdate
Source§impl Default for MessagesStateUpdate
impl Default for MessagesStateUpdate
Source§fn default() -> MessagesStateUpdate
fn default() -> MessagesStateUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessagesStateUpdate
impl<'de> Deserialize<'de> for MessagesStateUpdate
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
Auto Trait Implementations§
impl Freeze for MessagesStateUpdate
impl RefUnwindSafe for MessagesStateUpdate
impl Send for MessagesStateUpdate
impl Sync for MessagesStateUpdate
impl Unpin for MessagesStateUpdate
impl UnsafeUnpin for MessagesStateUpdate
impl UnwindSafe for MessagesStateUpdate
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