pub enum ScopeValue<'a> {
ModelId(&'a str),
Name(&'a str),
Time(DateTime<Utc>),
Count(u32),
Region(&'a str),
Subject(&'a str),
}Expand description
A scope value extracted from a child artifact, checked against constraints.
Variants§
ModelId(&'a str)
Model identifier.
Name(&'a str)
DNS-style name.
Time(DateTime<Utc>)
Timestamp.
Count(u32)
Count of already-issued artifacts.
Region(&'a str)
Geographic region.
Subject(&'a str)
Subject area.
Trait Implementations§
Source§impl<'a> Clone for ScopeValue<'a>
impl<'a> Clone for ScopeValue<'a>
Source§fn clone(&self) -> ScopeValue<'a>
fn clone(&self) -> ScopeValue<'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 moreAuto Trait Implementations§
impl<'a> Freeze for ScopeValue<'a>
impl<'a> RefUnwindSafe for ScopeValue<'a>
impl<'a> Send for ScopeValue<'a>
impl<'a> Sync for ScopeValue<'a>
impl<'a> Unpin for ScopeValue<'a>
impl<'a> UnsafeUnpin for ScopeValue<'a>
impl<'a> UnwindSafe for ScopeValue<'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