Struct ofdb_boundary::CustomLink
source · [−]pub struct CustomLink {
pub url: String,
pub title: Option<String>,
pub description: Option<String>,
}Fields
url: Stringtitle: Option<String>description: Option<String>Trait Implementations
sourceimpl<'de> Deserialize<'de> for CustomLink
impl<'de> Deserialize<'de> for CustomLink
sourcefn 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
sourceimpl From<CustomLink> for CustomLink
impl From<CustomLink> for CustomLink
sourcefn from(from: CustomLink) -> Self
fn from(from: CustomLink) -> Self
Converts to this type from the input type.
sourceimpl From<CustomLink> for CustomLink
impl From<CustomLink> for CustomLink
sourcefn from(from: CustomLink) -> Self
fn from(from: CustomLink) -> Self
Converts to this type from the input type.
sourceimpl Serialize for CustomLink
impl Serialize for CustomLink
Auto Trait Implementations
impl RefUnwindSafe for CustomLink
impl Send for CustomLink
impl Sync for CustomLink
impl Unpin for CustomLink
impl UnwindSafe for CustomLink
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more