pub struct PersonRelationship {
pub degree_of_relationship: String,
pub id: i64,
pub relationship_name: String,
pub relationship_type_id: i64,
pub relative: DomainObjectPerson,
pub extra: Map<String, Value>,
}Expand description
Relationship information of a person. Notice, that a relationship has a security level. That means you only see those relationships, you are allowed to see.
Fields§
§degree_of_relationship: StringName of type, what this relative is for the user.
id: i64ID of the relationship
relationship_name: StringName of Relationship
relationship_type_id: i64ID of relationship type
relative: DomainObjectPersonPerson as Domain Object
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonRelationship
impl Clone for PersonRelationship
Source§impl Debug for PersonRelationship
impl Debug for PersonRelationship
Source§impl Default for PersonRelationship
impl Default for PersonRelationship
Source§impl<'de> Deserialize<'de> for PersonRelationship
impl<'de> Deserialize<'de> for PersonRelationship
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 PersonRelationship
impl PartialEq for PersonRelationship
Source§impl Serialize for PersonRelationship
impl Serialize for PersonRelationship
impl StructuralPartialEq for PersonRelationship
Auto Trait Implementations§
impl Forget for PersonRelationship
impl Freeze for PersonRelationship
impl Move for PersonRelationship
impl RefUnwindSafe for PersonRelationship
impl Send for PersonRelationship
impl Sync for PersonRelationship
impl Unpin for PersonRelationship
impl UnsafeUnpin for PersonRelationship
impl UnwindSafe for PersonRelationship
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