pub struct CardSelectableActionsObjectBase {
pub has_no_offset: bool,
pub class: Classes,
pub id: Option<AttrValue>,
pub name: Option<AttrValue>,
}Expand description
Metadata for a selectable action.
Fields§
§has_no_offset: boolRemove the offset of the position of the actions to the header content. This looks better if using large card titles or tall header images, for example.
class: ClassesAdditional classes to the selectable actions object.
id: Option<AttrValue>HTML id
name: Option<AttrValue>The name of the action. Use this field to group action across multiple cards. This is useful for single selections to describe which cards can be selected from.
Trait Implementations§
source§impl Clone for CardSelectableActionsObjectBase
impl Clone for CardSelectableActionsObjectBase
source§fn clone(&self) -> CardSelectableActionsObjectBase
fn clone(&self) -> CardSelectableActionsObjectBase
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 Default for CardSelectableActionsObjectBase
impl Default for CardSelectableActionsObjectBase
source§fn default() -> CardSelectableActionsObjectBase
fn default() -> CardSelectableActionsObjectBase
Returns the “default value” for a type. Read more
source§impl PartialEq for CardSelectableActionsObjectBase
impl PartialEq for CardSelectableActionsObjectBase
source§fn eq(&self, other: &CardSelectableActionsObjectBase) -> bool
fn eq(&self, other: &CardSelectableActionsObjectBase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CardSelectableActionsObjectBase
Auto Trait Implementations§
impl RefUnwindSafe for CardSelectableActionsObjectBase
impl !Send for CardSelectableActionsObjectBase
impl !Sync for CardSelectableActionsObjectBase
impl Unpin for CardSelectableActionsObjectBase
impl UnwindSafe for CardSelectableActionsObjectBase
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.