pub struct Release {Show 18 fields
pub url: String,
pub assets_url: String,
pub upload_url: String,
pub html_url: String,
pub id: usize,
pub author: User,
pub node_id: String,
pub tag_name: String,
pub target_commitish: String,
pub name: Option<String>,
pub draft: bool,
pub prerelease: bool,
pub created_at: DateTime<Local>,
pub published_at: DateTime<Local>,
pub assets: Vec<ReleaseAsset>,
pub tarball_url: String,
pub zipball_url: String,
pub body: Option<String>,
}Fields§
§url: String§assets_url: String§upload_url: String§html_url: String§id: usize§node_id: String§tag_name: String§target_commitish: String§name: Option<String>§draft: bool§prerelease: bool§created_at: DateTime<Local>§published_at: DateTime<Local>§assets: Vec<ReleaseAsset>§tarball_url: String§zipball_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
Auto Trait Implementations§
impl Freeze for Release
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