#[non_exhaustive]pub struct ConstraintAssociationDraft<'a> {
pub global_id: &'a str,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub related_objects: &'a [EntityId],
pub intent: Option<&'a str>,
pub relating_constraint: EntityId,
}Expand description
Draft for one rooted constraint association.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.global_id: &'a strCompressed IFC GlobalId.
name: Option<&'a str>Optional relationship name.
description: Option<&'a str>Optional relationship description.
Non-empty unique definition-select targets.
intent: Option<&'a str>Optional association intent.
relating_constraint: EntityIdExisting or earlier-staged metric/objective.
Implementations§
Source§impl<'a> ConstraintAssociationDraft<'a>
impl<'a> ConstraintAssociationDraft<'a>
Trait Implementations§
Source§impl<'a> Clone for ConstraintAssociationDraft<'a>
impl<'a> Clone for ConstraintAssociationDraft<'a>
Source§fn clone(&self) -> ConstraintAssociationDraft<'a>
fn clone(&self) -> ConstraintAssociationDraft<'a>
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 moreimpl<'a> Copy for ConstraintAssociationDraft<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstraintAssociationDraft<'a>
impl<'a> RefUnwindSafe for ConstraintAssociationDraft<'a>
impl<'a> Send for ConstraintAssociationDraft<'a>
impl<'a> Sync for ConstraintAssociationDraft<'a>
impl<'a> Unpin for ConstraintAssociationDraft<'a>
impl<'a> UnsafeUnpin for ConstraintAssociationDraft<'a>
impl<'a> UnwindSafe for ConstraintAssociationDraft<'a>
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