pub struct PayloadOptions {
pub stealth_mode: Option<bool>,
pub notification_opts: PayloadOptionsNotificationOptions,
}
Expand description
опции запроса
Fields§
§stealth_mode: Option<bool>
(Default: false) - если true, то сообщение будет отправлено в чат только в том случае, если в чате включен стелс режим
notification_opts: PayloadOptionsNotificationOptions
Trait Implementations§
Source§impl Clone for PayloadOptions
impl Clone for PayloadOptions
Source§fn clone(&self) -> PayloadOptions
fn clone(&self) -> PayloadOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PayloadOptions
impl Debug for PayloadOptions
Source§impl Default for PayloadOptions
impl Default for PayloadOptions
Source§fn default() -> PayloadOptions
fn default() -> PayloadOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayloadOptions
impl<'de> Deserialize<'de> for PayloadOptions
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 PayloadOptions
impl RefUnwindSafe for PayloadOptions
impl Send for PayloadOptions
impl Sync for PayloadOptions
impl Unpin for PayloadOptions
impl UnwindSafe for PayloadOptions
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