Struct google_cloudshell1::api::StartEnvironmentRequest
source · [−]pub struct StartEnvironmentRequest {
pub access_token: Option<String>,
pub public_keys: Option<Vec<String>>,
}Expand description
Request message for StartEnvironment.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- environments start users (request)
Fields
access_token: Option<String>The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
public_keys: Option<Vec<String>>Public keys that should be added to the environment before it is started.
Trait Implementations
sourceimpl Clone for StartEnvironmentRequest
impl Clone for StartEnvironmentRequest
sourcefn clone(&self) -> StartEnvironmentRequest
fn clone(&self) -> StartEnvironmentRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StartEnvironmentRequest
impl Debug for StartEnvironmentRequest
sourceimpl Default for StartEnvironmentRequest
impl Default for StartEnvironmentRequest
sourcefn default() -> StartEnvironmentRequest
fn default() -> StartEnvironmentRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StartEnvironmentRequest
impl<'de> Deserialize<'de> for StartEnvironmentRequest
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for StartEnvironmentRequest
impl Serialize for StartEnvironmentRequest
impl RequestValue for StartEnvironmentRequest
Auto Trait Implementations
impl RefUnwindSafe for StartEnvironmentRequest
impl Send for StartEnvironmentRequest
impl Sync for StartEnvironmentRequest
impl Unpin for StartEnvironmentRequest
impl UnwindSafe for StartEnvironmentRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more