pub struct TargetView {
pub id: String,
pub title: String,
pub os: Os,
pub arch: Arch,
pub libc: Option<Libc>,
pub rust_target: String,
pub status: Status,
pub reason: Option<String>,
pub artifact: String,
}Expand description
One target, as every projection shows it: what it is, what it is called in prose, and the artifact name the naming function derives for a tag yet to be chosen.
Fields§
§id: StringThe target’s id in the model.
title: StringHow it is written in prose: Linux x86_64 musl.
os: OsThe operating system.
arch: ArchThe architecture.
libc: Option<Libc>The C library, on Linux.
rust_target: StringThe Rust target triple.
status: StatusWhat the project promises about it.
reason: Option<String>Why, when it is not built.
artifact: StringThe artifact name, with {tag} where a release’s tag goes.
Trait Implementations§
Source§impl Clone for TargetView
impl Clone for TargetView
Source§fn clone(&self) -> TargetView
fn clone(&self) -> TargetView
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 TargetView
impl Debug for TargetView
Source§impl JsonSchema for TargetView
impl JsonSchema for TargetView
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 TargetView
impl RefUnwindSafe for TargetView
impl Send for TargetView
impl Sync for TargetView
impl Unpin for TargetView
impl UnsafeUnpin for TargetView
impl UnwindSafe for TargetView
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