pub struct RemoteAsset {
pub id: u64,
pub name: String,
pub size: u64,
pub state: String,
pub digest: Option<String>,
}Expand description
Remote release asset.
Fields§
§id: u64GitHub numeric asset id.
name: StringExact asset name.
size: u64Exact byte size.
state: StringAsset state (uploaded or starter).
digest: Option<String>Optional sha256:<hex> digest.
Trait Implementations§
Source§impl Clone for RemoteAsset
impl Clone for RemoteAsset
Source§impl Debug for RemoteAsset
impl Debug for RemoteAsset
impl Eq for RemoteAsset
Source§impl PartialEq for RemoteAsset
impl PartialEq for RemoteAsset
impl StructuralPartialEq for RemoteAsset
Auto Trait Implementations§
impl Forget for RemoteAsset
impl Freeze for RemoteAsset
impl Move for RemoteAsset
impl RefUnwindSafe for RemoteAsset
impl Send for RemoteAsset
impl Sync for RemoteAsset
impl Unpin for RemoteAsset
impl UnsafeUnpin for RemoteAsset
impl UnwindSafe for RemoteAsset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.