Struct github_rest::model::releases::Release
source · pub struct Release {Show 18 fields
pub assets_url: String,
pub upload_url: String,
pub tarball_url: Option<String>,
pub zipball_url: Option<String>,
pub created_at: String,
pub published_at: String,
pub draft: bool,
pub id: i64,
pub node_id: String,
pub author: SimpleUser,
pub html_url: String,
pub name: String,
pub prerelease: bool,
pub tag_name: String,
pub target_commitish: String,
pub assets: Vec<ReleaseAsset>,
pub url: String,
pub body: Option<String>,
}
Expand description
Fields§
§assets_url: String
§upload_url: String
§tarball_url: Option<String>
§zipball_url: Option<String>
§created_at: String
§published_at: String
§draft: bool
§id: i64
§node_id: String
§html_url: String
§name: String
§prerelease: bool
§tag_name: String
§target_commitish: String
§assets: Vec<ReleaseAsset>
§url: String
§body: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
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<Release> for Release
impl PartialEq<Release> for Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
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