pub struct ApprovalConfigSettings {
pub approval_config: ApprovalConfig,
pub requester_cannot_be_approver: Option<bool>,
}Expand description
Config to create a new approval.
Fields§
§approval_config: ApprovalConfig§requester_cannot_be_approver: Option<bool>Determines whether check requester can approve the check.
Implementations§
Trait Implementations§
source§impl Clone for ApprovalConfigSettings
impl Clone for ApprovalConfigSettings
source§fn clone(&self) -> ApprovalConfigSettings
fn clone(&self) -> ApprovalConfigSettings
Returns a copy 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 Debug for ApprovalConfigSettings
impl Debug for ApprovalConfigSettings
source§impl Default for ApprovalConfigSettings
impl Default for ApprovalConfigSettings
source§fn default() -> ApprovalConfigSettings
fn default() -> ApprovalConfigSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApprovalConfigSettings
impl<'de> Deserialize<'de> for ApprovalConfigSettings
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 ApprovalConfigSettings
impl PartialEq for ApprovalConfigSettings
source§fn eq(&self, other: &ApprovalConfigSettings) -> bool
fn eq(&self, other: &ApprovalConfigSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ApprovalConfigSettings
impl Serialize for ApprovalConfigSettings
impl StructuralPartialEq for ApprovalConfigSettings
Auto Trait Implementations§
impl Freeze for ApprovalConfigSettings
impl RefUnwindSafe for ApprovalConfigSettings
impl Send for ApprovalConfigSettings
impl Sync for ApprovalConfigSettings
impl Unpin for ApprovalConfigSettings
impl UnwindSafe for ApprovalConfigSettings
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