pub struct InputBusinessGreetingMessage {
pub shortcut_id: i32,
pub recipients: InputBusinessRecipients,
pub no_activity_days: i32,
}Expand description
Generated from:
inputBusinessGreetingMessage#194cb3b shortcut_id:int recipients:InputBusinessRecipients no_activity_days:int = InputBusinessGreetingMessageFields§
§shortcut_id: i32§recipients: InputBusinessRecipients§no_activity_days: i32Trait Implementations§
Source§impl Clone for InputBusinessGreetingMessage
impl Clone for InputBusinessGreetingMessage
Source§fn clone(&self) -> InputBusinessGreetingMessage
fn clone(&self) -> InputBusinessGreetingMessage
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 InputBusinessGreetingMessage
impl Debug for InputBusinessGreetingMessage
Source§impl Deserializable for InputBusinessGreetingMessage
impl Deserializable for InputBusinessGreetingMessage
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputBusinessGreetingMessage> for InputBusinessGreetingMessage
impl From<InputBusinessGreetingMessage> for InputBusinessGreetingMessage
Source§fn from(x: InputBusinessGreetingMessage) -> Self
fn from(x: InputBusinessGreetingMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBusinessGreetingMessage
impl Identifiable for InputBusinessGreetingMessage
Source§const CONSTRUCTOR_ID: u32 = 0x0194cb3b
const CONSTRUCTOR_ID: u32 = 0x0194cb3b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputBusinessGreetingMessage
impl PartialEq for InputBusinessGreetingMessage
Source§fn eq(&self, other: &InputBusinessGreetingMessage) -> bool
fn eq(&self, other: &InputBusinessGreetingMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<InputBusinessGreetingMessage> for InputBusinessGreetingMessage
impl TryFrom<InputBusinessGreetingMessage> for InputBusinessGreetingMessage
Source§type Error = InputBusinessGreetingMessage
type Error = InputBusinessGreetingMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputBusinessGreetingMessage
Auto Trait Implementations§
impl Freeze for InputBusinessGreetingMessage
impl RefUnwindSafe for InputBusinessGreetingMessage
impl Send for InputBusinessGreetingMessage
impl Sync for InputBusinessGreetingMessage
impl Unpin for InputBusinessGreetingMessage
impl UnsafeUnpin for InputBusinessGreetingMessage
impl UnwindSafe for InputBusinessGreetingMessage
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