Struct spaceapi::StatusBuilder
[−]
[src]
pub struct StatusBuilder { /* fields omitted */ }
Builder for the Status
object.
Methods
impl StatusBuilder
[src]
fn new<S: Into<String>>(space_name: S) -> StatusBuilder
[src]
fn logo<S: Into<String>>(self, logo: S) -> Self
[src]
fn url<S: Into<String>>(self, url: S) -> Self
[src]
fn location(self, location: Location) -> Self
[src]
fn contact(self, contact: Contact) -> Self
[src]
fn spacefed(self, spacefed: Spacefed) -> Self
[src]
fn add_event(self, event: Event) -> Self
[src]
fn add_cam<S: Into<String>>(self, cam: S) -> Self
[src]
fn feeds(self, feeds: Feeds) -> Self
[src]
fn add_radio_show(self, radio_show: RadioShow) -> Self
[src]
fn add_project<S: Into<String>>(self, project: S) -> Self
[src]
fn add_issue_report_channel(self, report_channel: IssueReportChannel) -> Self
[src]
fn add_extension<V: Into<Value>>(self, name: &str, value: V) -> Self
[src]
Add an extension to the Status
object.
The prefix ext_
will automatically be prepended to the name during
serialization, if not already present.
fn build(self) -> Result<Status, String>
[src]
Trait Implementations
impl Default for StatusBuilder
[src]
fn default() -> StatusBuilder
[src]
Returns the "default value" for a type. Read more
impl Debug for StatusBuilder
[src]
impl Clone for StatusBuilder
[src]
fn clone(&self) -> StatusBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more