pub struct InformationObjectFieldReference {
pub class: String,
pub field_path: Vec<ObjectFieldIdentifier>,
pub constraints: Vec<Constraint>,
}
Fields§
§class: String
§field_path: Vec<ObjectFieldIdentifier>
§constraints: Vec<Constraint>
Trait Implementations§
source§impl Clone for InformationObjectFieldReference
impl Clone for InformationObjectFieldReference
source§fn clone(&self) -> InformationObjectFieldReference
fn clone(&self) -> InformationObjectFieldReference
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 Constrainable for InformationObjectFieldReference
impl Constrainable for InformationObjectFieldReference
source§fn constraints(&self) -> &Vec<Constraint>
fn constraints(&self) -> &Vec<Constraint>
returns a reference to the type’s constraints
source§fn constraints_mut(&mut self) -> &mut Vec<Constraint>
fn constraints_mut(&mut self) -> &mut Vec<Constraint>
returns a mutable reference to the type’s constraints
source§impl From<(&str, Vec<ObjectFieldIdentifier>, Option<Vec<Constraint>>)> for InformationObjectFieldReference
impl From<(&str, Vec<ObjectFieldIdentifier>, Option<Vec<Constraint>>)> for InformationObjectFieldReference
source§fn from(
value: (&str, Vec<ObjectFieldIdentifier>, Option<Vec<Constraint>>)
) -> Self
fn from( value: (&str, Vec<ObjectFieldIdentifier>, Option<Vec<Constraint>>) ) -> Self
Converts to this type from the input type.
source§impl PartialEq for InformationObjectFieldReference
impl PartialEq for InformationObjectFieldReference
source§fn eq(&self, other: &InformationObjectFieldReference) -> bool
fn eq(&self, other: &InformationObjectFieldReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InformationObjectFieldReference
Auto Trait Implementations§
impl RefUnwindSafe for InformationObjectFieldReference
impl Send for InformationObjectFieldReference
impl Sync for InformationObjectFieldReference
impl Unpin for InformationObjectFieldReference
impl UnwindSafe for InformationObjectFieldReference
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