pub struct ApiRelease {Show 13 fields
pub created_at: Option<String>,
pub name: Option<String>,
pub author: Option<Value>,
pub is_latest: Option<bool>,
pub tag_name: Option<String>,
pub published_at: Option<String>,
pub draft: Option<bool>,
pub prerelease: Option<bool>,
pub tag_commitish: Option<String>,
pub updated_at: Option<String>,
pub assets: Option<Vec<Value>>,
pub body: Option<String>,
pub id: Option<String>,
}
Expand description
ApiRelease 模型
Fields§
§created_at: Option<String>
§name: Option<String>
§is_latest: Option<bool>
§tag_name: Option<String>
§published_at: Option<String>
§draft: Option<bool>
§prerelease: Option<bool>
§tag_commitish: Option<String>
§updated_at: Option<String>
§assets: Option<Vec<Value>>
§body: Option<String>
§id: Option<String>
Trait Implementations§
Source§impl Clone for ApiRelease
impl Clone for ApiRelease
Source§fn clone(&self) -> ApiRelease
fn clone(&self) -> ApiRelease
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 ApiRelease
impl Debug for ApiRelease
Source§impl<'de> Deserialize<'de> for ApiRelease
impl<'de> Deserialize<'de> for ApiRelease
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 ApiRelease
impl RefUnwindSafe for ApiRelease
impl Send for ApiRelease
impl Sync for ApiRelease
impl Unpin for ApiRelease
impl UnwindSafe for ApiRelease
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