pub struct RelationMember {
pub role: String,
pub element: ReferencedElement,
}
Expand description
An entry from a Relation which references another element by id and role.
Fields§
§role: String
§element: ReferencedElement
Trait Implementations§
Source§impl Clone for RelationMember
impl Clone for RelationMember
Source§fn clone(&self) -> RelationMember
fn clone(&self) -> RelationMember
Returns a copy 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 RelationMember
impl Debug for RelationMember
Source§impl PartialEq for RelationMember
impl PartialEq for RelationMember
impl StructuralPartialEq for RelationMember
Auto Trait Implementations§
impl Freeze for RelationMember
impl RefUnwindSafe for RelationMember
impl Send for RelationMember
impl Sync for RelationMember
impl Unpin for RelationMember
impl UnwindSafe for RelationMember
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