Struct botx_api::api::models::payload_options::PayloadOptions
source · pub struct PayloadOptions {
pub stealth_mode: Option<bool>,
pub notification_opts: PayloadOptionsNotificationOptions,
}Expand description
опции запроса
Fields§
§stealth_mode: Option<bool>(Default: false) - если true, то сообщение будет отправлено в чат только в том случае, если в чате включен стелс режим
notification_opts: PayloadOptionsNotificationOptionsTrait Implementations§
source§impl Clone for PayloadOptions
impl Clone for PayloadOptions
source§fn clone(&self) -> PayloadOptions
fn clone(&self) -> PayloadOptions
Returns a copy 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 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 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