Struct spaceapi::Status
[−]
[src]
pub struct Status {
pub api: String,
pub space: String,
pub logo: String,
pub url: String,
pub location: Location,
pub contact: Contact,
pub spacefed: Optional<Spacefed>,
pub projects: Optional<Vec<String>>,
pub cam: Optional<Vec<String>>,
pub feeds: Optional<Feeds>,
pub events: Optional<Vec<Event>>,
pub radio_show: Optional<Vec<RadioShow>>,
pub cache: Optional<Cache>,
pub issue_report_channels: Vec<String>,
pub state: State,
pub sensors: Optional<Sensors>,
pub ext_versions: Optional<HashMap<String, String>>,
}The main Space API status object.
Fields
api: String
space: String
logo: String
url: String
location: Location
contact: Contact
spacefed: Optional<Spacefed>
projects: Optional<Vec<String>>
cam: Optional<Vec<String>>
feeds: Optional<Feeds>
events: Optional<Vec<Event>>
radio_show: Optional<Vec<RadioShow>>
cache: Optional<Cache>
issue_report_channels: Vec<String>
state: State
sensors: Optional<Sensors>
ext_versions: Optional<HashMap<String, String>>
Methods
impl Status[src]
fn new<S: Into<String>>(space: S, logo: S, url: S, location: Location, contact: Contact, issue_report_channels: Vec<String>) -> Status
Create a new Status object with only the absolutely required fields.
Trait Implementations
impl Decodable for Status[src]
impl PartialEq for Status[src]
fn eq(&self, __arg_0: &Status) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Status) -> bool
This method tests for !=.
impl Clone for Status[src]
fn clone(&self) -> Status
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more