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