pub struct V1LinkNode {
pub text: Option<String>,
pub url: Option<String>,
}
Fields§
§text: Option<String>
§url: Option<String>
Implementations§
Source§impl V1LinkNode
impl V1LinkNode
pub fn new() -> V1LinkNode
Trait Implementations§
Source§impl Clone for V1LinkNode
impl Clone for V1LinkNode
Source§fn clone(&self) -> V1LinkNode
fn clone(&self) -> V1LinkNode
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 V1LinkNode
impl Debug for V1LinkNode
Source§impl Default for V1LinkNode
impl Default for V1LinkNode
Source§fn default() -> V1LinkNode
fn default() -> V1LinkNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for V1LinkNode
impl<'de> Deserialize<'de> for V1LinkNode
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 V1LinkNode
impl PartialEq for V1LinkNode
Source§impl Serialize for V1LinkNode
impl Serialize for V1LinkNode
impl StructuralPartialEq for V1LinkNode
Auto Trait Implementations§
impl Freeze for V1LinkNode
impl RefUnwindSafe for V1LinkNode
impl Send for V1LinkNode
impl Sync for V1LinkNode
impl Unpin for V1LinkNode
impl UnwindSafe for V1LinkNode
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