pub struct WorkspacesStatus {
pub organization: String,
pub enabled: bool,
pub missing_terms: Vec<TermsDocument>,
pub github_accounts: Vec<String>,
pub plan: String,
pub max_sandboxes: i64,
pub max_sandboxes_per_user: i64,
}Expand description
An organization’s Workspaces setup.
Fields§
§organization: StringThe organization ID the status is for.
enabled: boolWhether Workspaces is turned on. Sandboxes can be created when it is and missing_terms
is empty.
missing_terms: Vec<TermsDocument>The required legal documents not accepted yet. While Workspaces is off these are all the documents turning it on needs.
github_accounts: Vec<String>The GitHub organizations or users linked to the organization. Turning Workspaces on needs at least one.
plan: StringThe organization’s plan (“Starter”, …).
max_sandboxes: i64The plan’s limits on sandboxes existing at once (0: not reported).
max_sandboxes_per_user: i64Implementations§
Trait Implementations§
Source§impl Clone for WorkspacesStatus
impl Clone for WorkspacesStatus
Source§fn clone(&self) -> WorkspacesStatus
fn clone(&self) -> WorkspacesStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkspacesStatus
impl Debug for WorkspacesStatus
Source§impl Default for WorkspacesStatus
impl Default for WorkspacesStatus
Source§fn default() -> WorkspacesStatus
fn default() -> WorkspacesStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspacesStatus
impl RefUnwindSafe for WorkspacesStatus
impl Send for WorkspacesStatus
impl Sync for WorkspacesStatus
impl Unpin for WorkspacesStatus
impl UnsafeUnpin for WorkspacesStatus
impl UnwindSafe for WorkspacesStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].