pub struct VisualItemButton {
pub name: String,
pub kind: VisualItemType,
pub label: StyledText,
pub actions: Vec<VisualItemAction>,
pub button_style: String,
pub event_name: String,
pub client_events_payload: ClientEventsPayload,
}Fields§
§name: String§kind: VisualItemType§label: StyledText§actions: Vec<VisualItemAction>§event_name: String§client_events_payload: ClientEventsPayloadTrait Implementations§
Source§impl Clone for VisualItemButton
impl Clone for VisualItemButton
Source§fn clone(&self) -> VisualItemButton
fn clone(&self) -> VisualItemButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VisualItemButton
impl Debug for VisualItemButton
Source§impl<'de> Deserialize<'de> for VisualItemButton
impl<'de> Deserialize<'de> for VisualItemButton
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 Eq for VisualItemButton
Source§impl PartialEq for VisualItemButton
impl PartialEq for VisualItemButton
Source§fn eq(&self, other: &VisualItemButton) -> bool
fn eq(&self, other: &VisualItemButton) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VisualItemButton
impl Serialize for VisualItemButton
impl StructuralPartialEq for VisualItemButton
Auto Trait Implementations§
impl Freeze for VisualItemButton
impl RefUnwindSafe for VisualItemButton
impl Send for VisualItemButton
impl Sync for VisualItemButton
impl Unpin for VisualItemButton
impl UnsafeUnpin for VisualItemButton
impl UnwindSafe for VisualItemButton
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