pub struct SimpleLink {
pub id: Option<String>,
pub style_class: Option<String>,
pub icon_class: Option<String>,
pub label: Option<String>,
pub title: Option<String>,
pub href: Option<String>,
pub weight: Option<i32>,
}
Expand description
SimpleLink : Details about the operations available in this version.
Fields§
§id: Option<String>
§style_class: Option<String>
§icon_class: Option<String>
§label: Option<String>
§title: Option<String>
§href: Option<String>
§weight: Option<i32>
Implementations§
Source§impl SimpleLink
impl SimpleLink
Sourcepub fn new() -> SimpleLink
pub fn new() -> SimpleLink
Details about the operations available in this version.
Trait Implementations§
Source§impl Clone for SimpleLink
impl Clone for SimpleLink
Source§fn clone(&self) -> SimpleLink
fn clone(&self) -> SimpleLink
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 SimpleLink
impl Debug for SimpleLink
Source§impl Default for SimpleLink
impl Default for SimpleLink
Source§fn default() -> SimpleLink
fn default() -> SimpleLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimpleLink
impl<'de> Deserialize<'de> for SimpleLink
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
Source§impl PartialEq for SimpleLink
impl PartialEq for SimpleLink
Source§impl Serialize for SimpleLink
impl Serialize for SimpleLink
impl StructuralPartialEq for SimpleLink
Auto Trait Implementations§
impl Freeze for SimpleLink
impl RefUnwindSafe for SimpleLink
impl Send for SimpleLink
impl Sync for SimpleLink
impl Unpin for SimpleLink
impl UnwindSafe for SimpleLink
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