Struct typeql::pattern::RelationConstraint
source · pub struct RelationConstraint {
pub role_players: Vec<RolePlayerConstraint>,
pub scope: Label,
}Fields§
§role_players: Vec<RolePlayerConstraint>§scope: LabelImplementations§
Trait Implementations§
source§impl Clone for RelationConstraint
impl Clone for RelationConstraint
source§fn clone(&self) -> RelationConstraint
fn clone(&self) -> RelationConstraint
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 RelationConstraint
impl Debug for RelationConstraint
source§impl Display for RelationConstraint
impl Display for RelationConstraint
source§impl From<RolePlayerConstraint> for RelationConstraint
impl From<RolePlayerConstraint> for RelationConstraint
source§fn from(constraint: RolePlayerConstraint) -> Self
fn from(constraint: RolePlayerConstraint) -> Self
Converts to this type from the input type.
source§impl PartialEq for RelationConstraint
impl PartialEq for RelationConstraint
source§fn eq(&self, other: &RelationConstraint) -> bool
fn eq(&self, other: &RelationConstraint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Validatable for RelationConstraint
impl Validatable for RelationConstraint
impl Eq for RelationConstraint
impl StructuralEq for RelationConstraint
impl StructuralPartialEq for RelationConstraint
Auto Trait Implementations§
impl RefUnwindSafe for RelationConstraint
impl Send for RelationConstraint
impl Sync for RelationConstraint
impl Unpin for RelationConstraint
impl UnwindSafe for RelationConstraint
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