pub struct ReviewCustomGatesStateRequired {
pub environment_name: String,
pub state: State,
pub comment: Option<String>,
}Fields§
§environment_name: StringThe name of the environment to approve or reject.
state: StateWhether to approve or reject deployment to the specified environments.
comment: Option<String>Optional comment to include with the review.
Implementations§
Source§impl ReviewCustomGatesStateRequired
impl ReviewCustomGatesStateRequired
pub fn new( environment_name: String, state: State, ) -> ReviewCustomGatesStateRequired
Trait Implementations§
Source§impl Clone for ReviewCustomGatesStateRequired
impl Clone for ReviewCustomGatesStateRequired
Source§fn clone(&self) -> ReviewCustomGatesStateRequired
fn clone(&self) -> ReviewCustomGatesStateRequired
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ReviewCustomGatesStateRequired
impl Default for ReviewCustomGatesStateRequired
Source§fn default() -> ReviewCustomGatesStateRequired
fn default() -> ReviewCustomGatesStateRequired
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReviewCustomGatesStateRequired
impl<'de> Deserialize<'de> for ReviewCustomGatesStateRequired
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 ReviewCustomGatesStateRequired
impl PartialEq for ReviewCustomGatesStateRequired
Source§fn eq(&self, other: &ReviewCustomGatesStateRequired) -> bool
fn eq(&self, other: &ReviewCustomGatesStateRequired) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReviewCustomGatesStateRequired
Auto Trait Implementations§
impl Freeze for ReviewCustomGatesStateRequired
impl RefUnwindSafe for ReviewCustomGatesStateRequired
impl Send for ReviewCustomGatesStateRequired
impl Sync for ReviewCustomGatesStateRequired
impl Unpin for ReviewCustomGatesStateRequired
impl UnwindSafe for ReviewCustomGatesStateRequired
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