pub struct GhReleaseArtifact {
pub release: GhRelease,
pub artifact_name: CompactString,
}
Expand description
The Github Release and one of its artifact.
Fields§
§release: GhRelease
§artifact_name: CompactString
Implementations§
source§impl GhReleaseArtifact
impl GhReleaseArtifact
sourcepub fn try_extract_from_url(url: &Url) -> Option<Self>
pub fn try_extract_from_url(url: &Url) -> Option<Self>
Create GhReleaseArtifact
from url.
Trait Implementations§
source§impl Clone for GhReleaseArtifact
impl Clone for GhReleaseArtifact
source§fn clone(&self) -> GhReleaseArtifact
fn clone(&self) -> GhReleaseArtifact
Returns a copy 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 GhReleaseArtifact
impl Debug for GhReleaseArtifact
source§impl Hash for GhReleaseArtifact
impl Hash for GhReleaseArtifact
source§impl PartialEq for GhReleaseArtifact
impl PartialEq for GhReleaseArtifact
impl Eq for GhReleaseArtifact
impl StructuralPartialEq for GhReleaseArtifact
Auto Trait Implementations§
impl Freeze for GhReleaseArtifact
impl RefUnwindSafe for GhReleaseArtifact
impl Send for GhReleaseArtifact
impl Sync for GhReleaseArtifact
impl Unpin for GhReleaseArtifact
impl UnwindSafe for GhReleaseArtifact
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.