pub struct PullRequestReview {
pub types: Vec<PullRequestReviewType>,
}
Expand description
Configuration for pull request review events
Fields§
§types: Vec<PullRequestReviewType>
Filter on specific pull request review event types
Implementations§
Source§impl PullRequestReview
impl PullRequestReview
Sourcepub fn add_type(self, type_: PullRequestReviewType) -> Self
pub fn add_type(self, type_: PullRequestReviewType) -> Self
Adds a pull request review event type to filter on
Trait Implementations§
Source§impl Clone for PullRequestReview
impl Clone for PullRequestReview
Source§fn clone(&self) -> PullRequestReview
fn clone(&self) -> PullRequestReview
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 PullRequestReview
impl Debug for PullRequestReview
Source§impl Default for PullRequestReview
impl Default for PullRequestReview
Source§fn default() -> PullRequestReview
fn default() -> PullRequestReview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestReview
impl<'de> Deserialize<'de> for PullRequestReview
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
Auto Trait Implementations§
impl Freeze for PullRequestReview
impl RefUnwindSafe for PullRequestReview
impl Send for PullRequestReview
impl Sync for PullRequestReview
impl Unpin for PullRequestReview
impl UnwindSafe for PullRequestReview
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