pub struct ModalButton {
pub actions: Vec<Action>,
pub id: String,
pub text: String,
}Fields§
§actions: Vec<Action>§id: String§text: StringImplementations§
Trait Implementations§
Source§impl Clone for ModalButton
impl Clone for ModalButton
Source§fn clone(&self) -> ModalButton
fn clone(&self) -> ModalButton
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 ModalButton
impl Debug for ModalButton
Source§impl<'de> Deserialize<'de> for ModalButton
impl<'de> Deserialize<'de> for ModalButton
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 Hash for ModalButton
impl Hash for ModalButton
Source§impl Ord for ModalButton
impl Ord for ModalButton
Source§fn cmp(&self, other: &ModalButton) -> Ordering
fn cmp(&self, other: &ModalButton) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModalButton
impl PartialEq for ModalButton
Source§impl PartialOrd for ModalButton
impl PartialOrd for ModalButton
Source§impl Serialize for ModalButton
impl Serialize for ModalButton
impl Eq for ModalButton
impl StructuralPartialEq for ModalButton
Auto Trait Implementations§
impl Freeze for ModalButton
impl RefUnwindSafe for ModalButton
impl Send for ModalButton
impl Sync for ModalButton
impl Unpin for ModalButton
impl UnwindSafe for ModalButton
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