Struct spaceapi_server::api::Status
[−]
pub struct Status {
pub api: &'static str,
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>,
}The main Space API status object.
Fields
api | |
space | |
logo | |
url | |
location | |
contact | |
spacefed | |
projects | |
cam | |
feeds | |
events | |
radio_show | |
cache | |
issue_report_channels | |
state | |
sensors |
Methods
impl Status
fn new<S>(space: S, logo: S, url: S, location: Location, contact: Contact, issue_report_channels: Vec<String>) -> Status where S: Into<String>
Create a new Status object with only the absolutely required fields.