pub struct ApprovalStateChangedEventMetadata {
pub approval_status: Option<String>,
pub revision_id: Option<String>,
}Expand description
Returns information about a change in the approval state for a pull request.
Fields§
§approval_status: Option<String>The approval status for the pull request.
revision_id: Option<String>The revision ID of the pull request when the approval state changed.
Trait Implementations§
Source§impl Clone for ApprovalStateChangedEventMetadata
impl Clone for ApprovalStateChangedEventMetadata
Source§fn clone(&self) -> ApprovalStateChangedEventMetadata
fn clone(&self) -> ApprovalStateChangedEventMetadata
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 ApprovalStateChangedEventMetadata
impl Default for ApprovalStateChangedEventMetadata
Source§fn default() -> ApprovalStateChangedEventMetadata
fn default() -> ApprovalStateChangedEventMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApprovalStateChangedEventMetadata
impl<'de> Deserialize<'de> for ApprovalStateChangedEventMetadata
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 ApprovalStateChangedEventMetadata
impl PartialEq for ApprovalStateChangedEventMetadata
Source§fn eq(&self, other: &ApprovalStateChangedEventMetadata) -> bool
fn eq(&self, other: &ApprovalStateChangedEventMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApprovalStateChangedEventMetadata
Auto Trait Implementations§
impl Freeze for ApprovalStateChangedEventMetadata
impl RefUnwindSafe for ApprovalStateChangedEventMetadata
impl Send for ApprovalStateChangedEventMetadata
impl Sync for ApprovalStateChangedEventMetadata
impl Unpin for ApprovalStateChangedEventMetadata
impl UnwindSafe for ApprovalStateChangedEventMetadata
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