pub struct Relationship {
pub nature: IsPartOfNature,
pub position: IsPartOfPosition,
}Expand description
6.2.74 Relationship record
Fields§
§nature: IsPartOfNature§position: IsPartOfPositionImplementations§
Source§impl Relationship
impl Relationship
pub fn with_nature(self, nature: IsPartOfNature) -> Self
pub fn with_position(self, position: IsPartOfPosition) -> Self
Trait Implementations§
Source§impl Clone for Relationship
impl Clone for Relationship
Source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
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 Relationship
impl Debug for Relationship
Source§impl Default for Relationship
impl Default for Relationship
Source§fn default() -> Relationship
fn default() -> Relationship
Returns the “default value” for a type. Read more
Source§impl PartialEq for Relationship
impl PartialEq for Relationship
impl StructuralPartialEq for Relationship
Auto Trait Implementations§
impl Freeze for Relationship
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnwindSafe for Relationship
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