pub struct NestedPrefix {
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub url: Option<String>,
}Expand description
NestedPrefix : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§object_type: Option<String>§url: Option<String>Implementations§
Source§impl NestedPrefix
impl NestedPrefix
Sourcepub fn new() -> NestedPrefix
pub fn new() -> NestedPrefix
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for NestedPrefix
impl Clone for NestedPrefix
Source§fn clone(&self) -> NestedPrefix
fn clone(&self) -> NestedPrefix
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 NestedPrefix
impl Debug for NestedPrefix
Source§impl Default for NestedPrefix
impl Default for NestedPrefix
Source§fn default() -> NestedPrefix
fn default() -> NestedPrefix
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NestedPrefix
impl<'de> Deserialize<'de> for NestedPrefix
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 NestedPrefix
impl PartialEq for NestedPrefix
Source§impl Serialize for NestedPrefix
impl Serialize for NestedPrefix
impl StructuralPartialEq for NestedPrefix
Auto Trait Implementations§
impl Freeze for NestedPrefix
impl RefUnwindSafe for NestedPrefix
impl Send for NestedPrefix
impl Sync for NestedPrefix
impl Unpin for NestedPrefix
impl UnsafeUnpin for NestedPrefix
impl UnwindSafe for NestedPrefix
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