pub struct CustomContent {
pub content: String,
pub label: String,
}Expand description
Payload for custom HTML content with a label.
Fields§
§content: String§label: StringTrait Implementations§
Source§impl Clone for CustomContent
impl Clone for CustomContent
Source§fn clone(&self) -> CustomContent
fn clone(&self) -> CustomContent
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 CustomContent
impl Debug for CustomContent
Auto Trait Implementations§
impl Freeze for CustomContent
impl RefUnwindSafe for CustomContent
impl Send for CustomContent
impl Sync for CustomContent
impl Unpin for CustomContent
impl UnwindSafe for CustomContent
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