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