pub struct ReleaseArtifactView {
pub target: String,
pub rust_target: String,
pub tag: String,
pub name: String,
pub root: String,
pub url: String,
}Expand description
The artifact a target and a tag name, and the directory it unpacks into.
Fields§
§target: StringThe target’s id in the model.
rust_target: StringThe Rust target triple.
tag: StringThe tag the name was derived for.
name: StringThe archive’s file name.
root: StringThe directory the archive unpacks into.
url: StringWhere a release publishes it, when the tag is a real one.
Trait Implementations§
Source§impl Clone for ReleaseArtifactView
impl Clone for ReleaseArtifactView
Source§fn clone(&self) -> ReleaseArtifactView
fn clone(&self) -> ReleaseArtifactView
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 moreSource§impl Debug for ReleaseArtifactView
impl Debug for ReleaseArtifactView
Source§impl JsonSchema for ReleaseArtifactView
impl JsonSchema for ReleaseArtifactView
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ReleaseArtifactView
impl RefUnwindSafe for ReleaseArtifactView
impl Send for ReleaseArtifactView
impl Sync for ReleaseArtifactView
impl Unpin for ReleaseArtifactView
impl UnsafeUnpin for ReleaseArtifactView
impl UnwindSafe for ReleaseArtifactView
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