pub struct NarrowcastRequest {
pub messages: Vec<Message>,
pub recipient: Option<Box<Recipient>>,
pub filter: Option<Box<Filter>>,
pub limit: Option<Box<Limit>>,
pub notification_disabled: Option<bool>,
}
Fields§
§messages: Vec<Message>
List of Message objects.
recipient: Option<Box<Recipient>>
§filter: Option<Box<Filter>>
§limit: Option<Box<Limit>>
§notification_disabled: Option<bool>
true
: The user doesn’t receive a push notification when a message is sent. false
: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false.
Implementations§
Source§impl NarrowcastRequest
impl NarrowcastRequest
pub fn new(messages: Vec<Message>) -> NarrowcastRequest
Trait Implementations§
Source§impl Clone for NarrowcastRequest
impl Clone for NarrowcastRequest
Source§fn clone(&self) -> NarrowcastRequest
fn clone(&self) -> NarrowcastRequest
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 NarrowcastRequest
impl Debug for NarrowcastRequest
Source§impl Default for NarrowcastRequest
impl Default for NarrowcastRequest
Source§fn default() -> NarrowcastRequest
fn default() -> NarrowcastRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NarrowcastRequest
impl<'de> Deserialize<'de> for NarrowcastRequest
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
Source§impl PartialEq for NarrowcastRequest
impl PartialEq for NarrowcastRequest
Source§impl Serialize for NarrowcastRequest
impl Serialize for NarrowcastRequest
impl StructuralPartialEq for NarrowcastRequest
Auto Trait Implementations§
impl Freeze for NarrowcastRequest
impl RefUnwindSafe for NarrowcastRequest
impl Send for NarrowcastRequest
impl Sync for NarrowcastRequest
impl Unpin for NarrowcastRequest
impl UnwindSafe for NarrowcastRequest
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