pub struct QuickAction {
pub label: String,
pub url: String,
pub icon: Option<String>,
pub css_class: Option<String>,
}Expand description
Quick action button
Fields§
§label: StringLabel
url: StringURL
icon: Option<String>Icon
css_class: Option<String>CSS class
Trait Implementations§
Source§impl Clone for QuickAction
impl Clone for QuickAction
Source§fn clone(&self) -> QuickAction
fn clone(&self) -> QuickAction
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 QuickAction
impl Debug for QuickAction
Source§impl<'de> Deserialize<'de> for QuickAction
impl<'de> Deserialize<'de> for QuickAction
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
Auto Trait Implementations§
impl Freeze for QuickAction
impl RefUnwindSafe for QuickAction
impl Send for QuickAction
impl Sync for QuickAction
impl Unpin for QuickAction
impl UnwindSafe for QuickAction
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