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>
Implementations§
Source§impl InformationObjectFieldReference
impl InformationObjectFieldReference
Sourcepub fn field_path_as_str(&self) -> String
pub fn field_path_as_str(&self) -> String
Returns the field path as string.
The field path is stringified by joining
the stringified ObjectFieldIdentifier
s with
the $
character as a separator.
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
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InformationObjectFieldReference
Auto Trait Implementations§
impl Freeze for InformationObjectFieldReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)