pub struct BeforeAfterItem {
pub label: String,
pub detail: String,
}Expand description
An item within a BeforeAfter block.
Fields§
§label: String§detail: StringTrait Implementations§
Source§impl Clone for BeforeAfterItem
impl Clone for BeforeAfterItem
Source§fn clone(&self) -> BeforeAfterItem
fn clone(&self) -> BeforeAfterItem
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 BeforeAfterItem
impl Debug for BeforeAfterItem
Source§impl<'de> Deserialize<'de> for BeforeAfterItem
impl<'de> Deserialize<'de> for BeforeAfterItem
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 BeforeAfterItem
impl RefUnwindSafe for BeforeAfterItem
impl Send for BeforeAfterItem
impl Sync for BeforeAfterItem
impl Unpin for BeforeAfterItem
impl UnsafeUnpin for BeforeAfterItem
impl UnwindSafe for BeforeAfterItem
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