pub struct RichMenuBatchLinkOperation {
pub type: Option<String>,
pub from: String,
pub to: String,
}
Expand description
RichMenuBatchLinkOperation : Replace the rich menu with the rich menu specified in the to
property 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
§to: String
Implementations§
Trait Implementations§
Source§impl Clone for RichMenuBatchLinkOperation
impl Clone for RichMenuBatchLinkOperation
Source§fn clone(&self) -> RichMenuBatchLinkOperation
fn clone(&self) -> RichMenuBatchLinkOperation
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 RichMenuBatchLinkOperation
impl Debug for RichMenuBatchLinkOperation
Source§impl Default for RichMenuBatchLinkOperation
impl Default for RichMenuBatchLinkOperation
Source§fn default() -> RichMenuBatchLinkOperation
fn default() -> RichMenuBatchLinkOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RichMenuBatchLinkOperation
impl<'de> Deserialize<'de> for RichMenuBatchLinkOperation
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
impl StructuralPartialEq for RichMenuBatchLinkOperation
Auto Trait Implementations§
impl Freeze for RichMenuBatchLinkOperation
impl RefUnwindSafe for RichMenuBatchLinkOperation
impl Send for RichMenuBatchLinkOperation
impl Sync for RichMenuBatchLinkOperation
impl Unpin for RichMenuBatchLinkOperation
impl UnwindSafe for RichMenuBatchLinkOperation
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