pub struct FeatureCard {
pub title: String,
pub icon: Option<String>,
pub body: String,
pub link_label: Option<String>,
pub link_href: Option<String>,
}Expand description
A card within a Features block.
Fields§
§title: String§icon: Option<String>§body: String§link_label: Option<String>§link_href: Option<String>Trait Implementations§
Source§impl Clone for FeatureCard
impl Clone for FeatureCard
Source§fn clone(&self) -> FeatureCard
fn clone(&self) -> FeatureCard
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 FeatureCard
impl Debug for FeatureCard
Source§impl<'de> Deserialize<'de> for FeatureCard
impl<'de> Deserialize<'de> for FeatureCard
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 FeatureCard
impl RefUnwindSafe for FeatureCard
impl Send for FeatureCard
impl Sync for FeatureCard
impl Unpin for FeatureCard
impl UnsafeUnpin for FeatureCard
impl UnwindSafe for FeatureCard
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