pub struct RelationshipUser {
pub user: Option<Box<RelationshipUserUser>>,
}
Fields§
§user: Option<Box<RelationshipUserUser>>
Implementations§
Source§impl RelationshipUser
impl RelationshipUser
pub fn new() -> RelationshipUser
Trait Implementations§
Source§impl Clone for RelationshipUser
impl Clone for RelationshipUser
Source§fn clone(&self) -> RelationshipUser
fn clone(&self) -> RelationshipUser
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 RelationshipUser
impl Debug for RelationshipUser
Source§impl Default for RelationshipUser
impl Default for RelationshipUser
Source§fn default() -> RelationshipUser
fn default() -> RelationshipUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationshipUser
impl<'de> Deserialize<'de> for RelationshipUser
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 RelationshipUser
impl PartialEq for RelationshipUser
Source§impl Serialize for RelationshipUser
impl Serialize for RelationshipUser
impl StructuralPartialEq for RelationshipUser
Auto Trait Implementations§
impl Freeze for RelationshipUser
impl RefUnwindSafe for RelationshipUser
impl Send for RelationshipUser
impl Sync for RelationshipUser
impl Unpin for RelationshipUser
impl UnwindSafe for RelationshipUser
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