pub enum DestinationConstraintV1 {
LocalOnly,
OrganizationPrivate,
}Expand description
Placement constraints that only ever accumulate through derivation.
Variants§
LocalOnly
Must never leave the local machine.
OrganizationPrivate
Only organisation-managed destinations (or local ones).
Trait Implementations§
Source§impl Clone for DestinationConstraintV1
impl Clone for DestinationConstraintV1
impl Copy for DestinationConstraintV1
Source§impl Debug for DestinationConstraintV1
impl Debug for DestinationConstraintV1
Source§impl<'de> Deserialize<'de> for DestinationConstraintV1
impl<'de> Deserialize<'de> for DestinationConstraintV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DestinationConstraintV1
Source§impl Hash for DestinationConstraintV1
impl Hash for DestinationConstraintV1
Source§impl Ord for DestinationConstraintV1
impl Ord for DestinationConstraintV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DestinationConstraintV1
impl PartialEq for DestinationConstraintV1
Source§impl PartialOrd for DestinationConstraintV1
impl PartialOrd for DestinationConstraintV1
Source§impl Serialize for DestinationConstraintV1
impl Serialize for DestinationConstraintV1
impl StructuralPartialEq for DestinationConstraintV1
Auto Trait Implementations§
impl Freeze for DestinationConstraintV1
impl RefUnwindSafe for DestinationConstraintV1
impl Send for DestinationConstraintV1
impl Sync for DestinationConstraintV1
impl Unpin for DestinationConstraintV1
impl UnsafeUnpin for DestinationConstraintV1
impl UnwindSafe for DestinationConstraintV1
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