Struct botx_api::api::v4::notification::internal::models::InternalNotificationRequest      
source · pub struct InternalNotificationRequest<TData, TOptions> {
    pub group_chat_id: Uuid,
    pub data: TData,
    pub opts: TOptions,
    pub recipients: Option<Vec<Uuid>>,
}Fields§
§group_chat_id: UuidID чата
data: TDataПользовательские данные
opts: TOptions(default: {}) - пользовательские опции
recipients: Option<Vec<Uuid>>(default: Null) - huid получателей события. По умолчанию все участники чата
Trait Implementations§
source§impl<TData: Clone, TOptions: Clone> Clone for InternalNotificationRequest<TData, TOptions>
 
impl<TData: Clone, TOptions: Clone> Clone for InternalNotificationRequest<TData, TOptions>
source§fn clone(&self) -> InternalNotificationRequest<TData, TOptions>
 
fn clone(&self) -> InternalNotificationRequest<TData, TOptions>
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<TData: Default, TOptions: Default> Default for InternalNotificationRequest<TData, TOptions>
 
impl<TData: Default, TOptions: Default> Default for InternalNotificationRequest<TData, TOptions>
source§fn default() -> InternalNotificationRequest<TData, TOptions>
 
fn default() -> InternalNotificationRequest<TData, TOptions>
Returns the “default value” for a type. Read more
source§impl<'de, TData, TOptions> Deserialize<'de> for InternalNotificationRequest<TData, TOptions>where
    TData: Deserialize<'de>,
    TOptions: Deserialize<'de>,
 
impl<'de, TData, TOptions> Deserialize<'de> for InternalNotificationRequest<TData, TOptions>where TData: Deserialize<'de>, TOptions: Deserialize<'de>,
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<TData, TOptions> RefUnwindSafe for InternalNotificationRequest<TData, TOptions>where TData: RefUnwindSafe, TOptions: RefUnwindSafe,
impl<TData, TOptions> Send for InternalNotificationRequest<TData, TOptions>where TData: Send, TOptions: Send,
impl<TData, TOptions> Sync for InternalNotificationRequest<TData, TOptions>where TData: Sync, TOptions: Sync,
impl<TData, TOptions> Unpin for InternalNotificationRequest<TData, TOptions>where TData: Unpin, TOptions: Unpin,
impl<TData, TOptions> UnwindSafe for InternalNotificationRequest<TData, TOptions>where TData: UnwindSafe, TOptions: UnwindSafe,
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