pub struct Relationship {
pub id: String,
pub rel_type: String,
pub target: String,
pub target_mode: Option<String>,
}Expand description
A single relationship entry.
Fields§
§id: String§rel_type: String§target: String§target_mode: Option<String>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 (const: unstable) · 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 PartialEq for Relationship
impl PartialEq for Relationship
impl StructuralPartialEq for Relationship
Auto Trait Implementations§
impl Forget for Relationship
impl Freeze for Relationship
impl Move for Relationship
impl RefUnwindSafe for Relationship
impl Send for Relationshipwhere
RawVecInner: Send,
impl Sync for Relationshipwhere
RawVecInner: Sync,
impl Unpin for Relationship
impl UnsafeUnpin for Relationship
impl UnwindSafe for Relationshipwhere
RawVecInner: UnwindSafe,
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