pub struct NavLink {
pub img: Option<String>,
pub label: Option<String>,
pub alt: Option<String>,
pub href: Option<String>,
pub class: Option<String>,
pub target: Option<String>,
}Expand description
A single link in the navigation bar
Fields§
§img: Option<String>§label: Option<String>§alt: Option<String>§href: Option<String>§class: Option<String>§target: Option<String>Trait Implementations§
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§
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