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