pub struct RichMenuBatchUnlinkAllOperation {
pub type: Option<String>,
}
Expand description
RichMenuBatchUnlinkAllOperation : Unlink the rich menu from all users linked to the rich menu.
Fields§
§type: Option<String>
The type of operation to the rich menu linked to the user. One of link, unlink, or unlinkAll.
Implementations§
Source§impl RichMenuBatchUnlinkAllOperation
impl RichMenuBatchUnlinkAllOperation
Sourcepub fn new(type: String) -> RichMenuBatchUnlinkAllOperation
pub fn new(type: String) -> RichMenuBatchUnlinkAllOperation
Unlink the rich menu from all users linked to the rich menu.
Trait Implementations§
Source§impl Clone for RichMenuBatchUnlinkAllOperation
impl Clone for RichMenuBatchUnlinkAllOperation
Source§fn clone(&self) -> RichMenuBatchUnlinkAllOperation
fn clone(&self) -> RichMenuBatchUnlinkAllOperation
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 Default for RichMenuBatchUnlinkAllOperation
impl Default for RichMenuBatchUnlinkAllOperation
Source§fn default() -> RichMenuBatchUnlinkAllOperation
fn default() -> RichMenuBatchUnlinkAllOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RichMenuBatchUnlinkAllOperation
impl<'de> Deserialize<'de> for RichMenuBatchUnlinkAllOperation
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 RichMenuBatchUnlinkAllOperation
impl PartialEq for RichMenuBatchUnlinkAllOperation
Source§fn eq(&self, other: &RichMenuBatchUnlinkAllOperation) -> bool
fn eq(&self, other: &RichMenuBatchUnlinkAllOperation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RichMenuBatchUnlinkAllOperation
Auto Trait Implementations§
impl Freeze for RichMenuBatchUnlinkAllOperation
impl RefUnwindSafe for RichMenuBatchUnlinkAllOperation
impl Send for RichMenuBatchUnlinkAllOperation
impl Sync for RichMenuBatchUnlinkAllOperation
impl Unpin for RichMenuBatchUnlinkAllOperation
impl UnwindSafe for RichMenuBatchUnlinkAllOperation
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