#[non_exhaustive]pub struct ApprovalChange {
pub kind: String,
pub requirement_id: Option<ApprovalRequirementRef>,
pub choice_id: Option<String>,
pub decision: Option<ApprovalDecision>,
pub status: Option<ApprovalPersistenceStatus>,
pub reason: Option<String>,
pub reparsed: Option<bool>,
pub executable: Option<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.kind: String§requirement_id: Option<ApprovalRequirementRef>§choice_id: Option<String>§decision: Option<ApprovalDecision>§status: Option<ApprovalPersistenceStatus>§reason: Option<String>§reparsed: Option<bool>§executable: Option<bool>Trait Implementations§
Source§impl Clone for ApprovalChange
impl Clone for ApprovalChange
Source§impl Debug for ApprovalChange
impl Debug for ApprovalChange
Source§impl<'de> Deserialize<'de> for ApprovalChange
impl<'de> Deserialize<'de> for ApprovalChange
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 ApprovalChange
Source§impl PartialEq for ApprovalChange
impl PartialEq for ApprovalChange
Source§impl Serialize for ApprovalChange
impl Serialize for ApprovalChange
impl StructuralPartialEq for ApprovalChange
Auto Trait Implementations§
impl Freeze for ApprovalChange
impl RefUnwindSafe for ApprovalChange
impl Send for ApprovalChange
impl Sync for ApprovalChange
impl Unpin for ApprovalChange
impl UnsafeUnpin for ApprovalChange
impl UnwindSafe for ApprovalChange
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