pub struct JsonAdrLink {
pub link_type: String,
pub target: u32,
pub description: Option<String>,
}Expand description
A link between ADRs in JSON-ADR format.
Fields§
§link_type: StringLink type.
target: u32ADR number being linked to.
description: Option<String>Optional description.
Trait Implementations§
Source§impl Clone for JsonAdrLink
impl Clone for JsonAdrLink
Source§fn clone(&self) -> JsonAdrLink
fn clone(&self) -> JsonAdrLink
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 JsonAdrLink
impl Debug for JsonAdrLink
Source§impl<'de> Deserialize<'de> for JsonAdrLink
impl<'de> Deserialize<'de> for JsonAdrLink
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 From<&AdrLink> for JsonAdrLink
impl From<&AdrLink> for JsonAdrLink
Auto Trait Implementations§
impl Freeze for JsonAdrLink
impl RefUnwindSafe for JsonAdrLink
impl Send for JsonAdrLink
impl Sync for JsonAdrLink
impl Unpin for JsonAdrLink
impl UnwindSafe for JsonAdrLink
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