pub struct Addressable {
pub href: Option<String>,
pub id: Option<String>,
}Expand description
Base schema for adressable entities
Fields§
§href: Option<String>Hyperlink reference
id: Option<String>unique identifier
Trait Implementations§
Source§impl Clone for Addressable
impl Clone for Addressable
Source§fn clone(&self) -> Addressable
fn clone(&self) -> Addressable
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 Addressable
impl Debug for Addressable
Source§impl Default for Addressable
impl Default for Addressable
Source§fn default() -> Addressable
fn default() -> Addressable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Addressable
impl<'de> Deserialize<'de> for Addressable
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 Display for Addressable
impl Display for Addressable
Auto Trait Implementations§
impl Freeze for Addressable
impl RefUnwindSafe for Addressable
impl Send for Addressable
impl Sync for Addressable
impl Unpin for Addressable
impl UnsafeUnpin for Addressable
impl UnwindSafe for Addressable
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