pub struct DocumentationLink {
pub uri: String,
}
Expand description
DocumentationLink : Represents a link to documentation for a component or component set.
Fields§
§uri: String
Should be a valid URI (e.g. https://www.figma.com).
Implementations§
Source§impl DocumentationLink
impl DocumentationLink
Sourcepub fn new(uri: String) -> DocumentationLink
pub fn new(uri: String) -> DocumentationLink
Represents a link to documentation for a component or component set.
Trait Implementations§
Source§impl Clone for DocumentationLink
impl Clone for DocumentationLink
Source§fn clone(&self) -> DocumentationLink
fn clone(&self) -> DocumentationLink
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 DocumentationLink
impl Debug for DocumentationLink
Source§impl Default for DocumentationLink
impl Default for DocumentationLink
Source§fn default() -> DocumentationLink
fn default() -> DocumentationLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentationLink
impl<'de> Deserialize<'de> for DocumentationLink
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 DocumentationLink
impl PartialEq for DocumentationLink
Source§impl Serialize for DocumentationLink
impl Serialize for DocumentationLink
impl StructuralPartialEq for DocumentationLink
Auto Trait Implementations§
impl Freeze for DocumentationLink
impl RefUnwindSafe for DocumentationLink
impl Send for DocumentationLink
impl Sync for DocumentationLink
impl Unpin for DocumentationLink
impl UnwindSafe for DocumentationLink
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