#[non_exhaustive]pub struct ApprovalChoice {
pub choice_id: String,
pub label: String,
pub decision: ApprovalDecision,
pub scope: ApprovalChoiceScope,
pub rule_preview: Option<String>,
pub accepts_feedback: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.choice_id: String§label: String§decision: ApprovalDecision§scope: ApprovalChoiceScope§rule_preview: Option<String>§accepts_feedback: boolTrait Implementations§
Source§impl Clone for ApprovalChoice
impl Clone for ApprovalChoice
Source§impl Debug for ApprovalChoice
impl Debug for ApprovalChoice
Source§impl<'de> Deserialize<'de> for ApprovalChoice
impl<'de> Deserialize<'de> for ApprovalChoice
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 ApprovalChoice
Source§impl PartialEq for ApprovalChoice
impl PartialEq for ApprovalChoice
Source§impl Serialize for ApprovalChoice
impl Serialize for ApprovalChoice
impl StructuralPartialEq for ApprovalChoice
Auto Trait Implementations§
impl Freeze for ApprovalChoice
impl RefUnwindSafe for ApprovalChoice
impl Send for ApprovalChoice
impl Sync for ApprovalChoice
impl Unpin for ApprovalChoice
impl UnsafeUnpin for ApprovalChoice
impl UnwindSafe for ApprovalChoice
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