pub struct WebLinkInfo {
pub name: String,
pub url: String,
pub image_url: String,
}
Expand description
The WebLinkInfo
entity describes a link to an external site.
Fields§
§name: String
The link name.
url: String
The link URL.
image_url: String
URL to the icon of the link.
Trait Implementations§
Source§impl Clone for WebLinkInfo
impl Clone for WebLinkInfo
Source§fn clone(&self) -> WebLinkInfo
fn clone(&self) -> WebLinkInfo
Returns a copy 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 WebLinkInfo
impl Debug for WebLinkInfo
Source§impl<'de> Deserialize<'de> for WebLinkInfo
impl<'de> Deserialize<'de> for WebLinkInfo
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 WebLinkInfo
impl RefUnwindSafe for WebLinkInfo
impl Send for WebLinkInfo
impl Sync for WebLinkInfo
impl Unpin for WebLinkInfo
impl UnwindSafe for WebLinkInfo
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