pub struct CardContent<'a> {
pub title: &'a str,
pub sections: &'a [CardSection<'a>],
pub actions: &'a [CardAction<'a>],
pub primary: u64,
pub blocker: u64,
}Expand description
Borrowed content, not retained state. IDs must be unique, including blocker.
Fields§
§title: &'a str§sections: &'a [CardSection<'a>]§actions: &'a [CardAction<'a>]§primary: u64§blocker: u64Trait Implementations§
Source§impl<'a> Clone for CardContent<'a>
impl<'a> Clone for CardContent<'a>
Source§fn clone(&self) -> CardContent<'a>
fn clone(&self) -> CardContent<'a>
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<'a> Debug for CardContent<'a>
impl<'a> Debug for CardContent<'a>
impl<'a> Copy for CardContent<'a>
Auto Trait Implementations§
impl<'a> Freeze for CardContent<'a>
impl<'a> RefUnwindSafe for CardContent<'a>
impl<'a> Send for CardContent<'a>
impl<'a> Sync for CardContent<'a>
impl<'a> Unpin for CardContent<'a>
impl<'a> UnwindSafe for CardContent<'a>
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