pub struct SettingsUpdate {
pub messages: Option<Vec<MessageUpdate>>,
}Expand description
Update struct corresponding to Settings
Fields§
§messages: Option<Vec<MessageUpdate>>Implementations§
Source§impl SettingsUpdate
impl SettingsUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_messages(self, v: Vec<MessageUpdate>) -> Self
Trait Implementations§
Source§impl Debug for SettingsUpdate
impl Debug for SettingsUpdate
Source§impl Default for SettingsUpdate
impl Default for SettingsUpdate
Source§fn default() -> SettingsUpdate
fn default() -> SettingsUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SettingsUpdate
impl RefUnwindSafe for SettingsUpdate
impl Send for SettingsUpdate
impl Sync for SettingsUpdate
impl Unpin for SettingsUpdate
impl UnsafeUnpin for SettingsUpdate
impl UnwindSafe for SettingsUpdate
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