pub struct Release {
pub tag: String,
pub name: String,
pub description: String,
pub created_at: String,
pub web_url: String,
pub id: Option<String>,
}Fields§
§tag: StringThe tag this release is anchored to (e.g. “v0.7.9”). Used as the identifier in API paths since releases don’t have separate numeric ids in GitLab; GitHub has both an id and a tag, we use the tag for CLI ergonomics.
name: String§description: String§created_at: String§web_url: String§id: Option<String>Optional release id (GitHub uses this for API paths; GitLab uses tag).
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 UnsafeUnpin 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