pub struct WebhooksPullRequest5Base {
pub label: String,
pub ref: String,
pub repo: Box<Repository>,
pub sha: String,
pub user: Option<Box<User>>,
}
Fields§
§label: String
§ref: String
§repo: Box<Repository>
§sha: String
§user: Option<Box<User>>
Implementations§
Source§impl WebhooksPullRequest5Base
impl WebhooksPullRequest5Base
pub fn new( label: String, ref: String, repo: Repository, sha: String, user: Option<User>, ) -> WebhooksPullRequest5Base
Trait Implementations§
Source§impl Clone for WebhooksPullRequest5Base
impl Clone for WebhooksPullRequest5Base
Source§fn clone(&self) -> WebhooksPullRequest5Base
fn clone(&self) -> WebhooksPullRequest5Base
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 Debug for WebhooksPullRequest5Base
impl Debug for WebhooksPullRequest5Base
Source§impl Default for WebhooksPullRequest5Base
impl Default for WebhooksPullRequest5Base
Source§fn default() -> WebhooksPullRequest5Base
fn default() -> WebhooksPullRequest5Base
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksPullRequest5Base
impl<'de> Deserialize<'de> for WebhooksPullRequest5Base
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 WebhooksPullRequest5Base
impl PartialEq for WebhooksPullRequest5Base
Source§impl Serialize for WebhooksPullRequest5Base
impl Serialize for WebhooksPullRequest5Base
impl StructuralPartialEq for WebhooksPullRequest5Base
Auto Trait Implementations§
impl Freeze for WebhooksPullRequest5Base
impl RefUnwindSafe for WebhooksPullRequest5Base
impl Send for WebhooksPullRequest5Base
impl Sync for WebhooksPullRequest5Base
impl Unpin for WebhooksPullRequest5Base
impl UnwindSafe for WebhooksPullRequest5Base
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