pub struct Release {
pub tag_name: String,
pub name: String,
pub prerelease: bool,
pub commit: Option<String>,
}Expand description
Represents the data of a GitHub release.
Fields§
§tag_name: String§name: String§prerelease: bool§commit: 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
impl StructuralPartialEq for Release
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