pub struct PrMetadata {
pub number: u32,
pub title: String,
pub body: Option<String>,
pub user: Option<PrUser>,
pub head: PrHead,
pub base: PrBase,
}Expand description
GitHub API response type for PR metadata.
Fields§
§number: u32§title: String§body: Option<String>§user: Option<PrUser>§head: PrHead§base: PrBaseTrait Implementations§
Source§impl Clone for PrMetadata
impl Clone for PrMetadata
Source§fn clone(&self) -> PrMetadata
fn clone(&self) -> PrMetadata
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 PrMetadata
impl Debug for PrMetadata
Source§impl<'de> Deserialize<'de> for PrMetadata
impl<'de> Deserialize<'de> for PrMetadata
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 PrMetadata
impl RefUnwindSafe for PrMetadata
impl Send for PrMetadata
impl Sync for PrMetadata
impl Unpin for PrMetadata
impl UnsafeUnpin for PrMetadata
impl UnwindSafe for PrMetadata
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