pub struct RemoteRelease {
pub id: u64,
pub draft: bool,
}Expand description
Existing remote release state.
Fields§
§id: u64Forge identifier used for asset and publish calls.
draft: boolWhether the release is still hidden from readers.
Trait Implementations§
Source§impl Clone for RemoteRelease
impl Clone for RemoteRelease
Source§fn clone(&self) -> RemoteRelease
fn clone(&self) -> RemoteRelease
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteRelease
Source§impl Debug for RemoteRelease
impl Debug for RemoteRelease
impl Eq for RemoteRelease
Source§impl PartialEq for RemoteRelease
impl PartialEq for RemoteRelease
impl StructuralPartialEq for RemoteRelease
Auto Trait Implementations§
impl Freeze for RemoteRelease
impl RefUnwindSafe for RemoteRelease
impl Send for RemoteRelease
impl Sync for RemoteRelease
impl Unpin for RemoteRelease
impl UnsafeUnpin for RemoteRelease
impl UnwindSafe for RemoteRelease
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.