pub struct CreateFieldProjection { /* private fields */ }Expand description
One owned-attribute input in a create facet.
Implementations§
Source§impl CreateFieldProjection
impl CreateFieldProjection
Sourcepub const fn new(
token: OwnsFactId,
value: ProjectedTypeRef,
multiplicity: ProjectedMultiplicity,
) -> Self
pub const fn new( token: OwnsFactId, value: ProjectedTypeRef, multiplicity: ProjectedMultiplicity, ) -> Self
Construct one create input.
Sourcepub const fn token(&self) -> &OwnsFactId
pub const fn token(&self) -> &OwnsFactId
Return the field token identity.
Sourcepub const fn value(&self) -> &ProjectedTypeRef
pub const fn value(&self) -> &ProjectedTypeRef
Return the accepted input value type.
Sourcepub const fn multiplicity(&self) -> ProjectedMultiplicity
pub const fn multiplicity(&self) -> ProjectedMultiplicity
Return input requiredness/container shape.
Trait Implementations§
Source§impl Clone for CreateFieldProjection
impl Clone for CreateFieldProjection
Source§fn clone(&self) -> CreateFieldProjection
fn clone(&self) -> CreateFieldProjection
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 CreateFieldProjection
impl Debug for CreateFieldProjection
impl Eq for CreateFieldProjection
Source§impl PartialEq for CreateFieldProjection
impl PartialEq for CreateFieldProjection
Source§impl Serialize for CreateFieldProjection
impl Serialize for CreateFieldProjection
impl StructuralPartialEq for CreateFieldProjection
Auto Trait Implementations§
impl Freeze for CreateFieldProjection
impl RefUnwindSafe for CreateFieldProjection
impl Send for CreateFieldProjection
impl Sync for CreateFieldProjection
impl Unpin for CreateFieldProjection
impl UnsafeUnpin for CreateFieldProjection
impl UnwindSafe for CreateFieldProjection
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