pub struct RolePromotionPolicyV1 {
pub role: String,
pub allowed_promotion_levels: Vec<PromotionArtifactLevelV1>,
pub requirements: Vec<PromotionPolicyRequirementV1>,
}Expand description
RolePromotionPolicyV1
Fields§
§role: String§allowed_promotion_levels: Vec<PromotionArtifactLevelV1>§requirements: Vec<PromotionPolicyRequirementV1>Trait Implementations§
Source§impl Clone for RolePromotionPolicyV1
impl Clone for RolePromotionPolicyV1
Source§fn clone(&self) -> RolePromotionPolicyV1
fn clone(&self) -> RolePromotionPolicyV1
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 RolePromotionPolicyV1
impl Debug for RolePromotionPolicyV1
Source§impl<'de> Deserialize<'de> for RolePromotionPolicyV1
impl<'de> Deserialize<'de> for RolePromotionPolicyV1
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
Source§impl PartialEq for RolePromotionPolicyV1
impl PartialEq for RolePromotionPolicyV1
Source§fn eq(&self, other: &RolePromotionPolicyV1) -> bool
fn eq(&self, other: &RolePromotionPolicyV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RolePromotionPolicyV1
impl Serialize for RolePromotionPolicyV1
impl Eq for RolePromotionPolicyV1
impl StructuralPartialEq for RolePromotionPolicyV1
Auto Trait Implementations§
impl Freeze for RolePromotionPolicyV1
impl RefUnwindSafe for RolePromotionPolicyV1
impl Send for RolePromotionPolicyV1
impl Sync for RolePromotionPolicyV1
impl Unpin for RolePromotionPolicyV1
impl UnsafeUnpin for RolePromotionPolicyV1
impl UnwindSafe for RolePromotionPolicyV1
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