pub struct GcpEnvironmentInfo {
pub project_id: String,
pub project_number: String,
pub region: String,
}Expand description
GCP-specific environment information
JSON schema
{
"description": "GCP-specific environment information",
"type": "object",
"required": [
"projectId",
"projectNumber",
"region"
],
"properties": {
"projectId": {
"description": "GCP project ID (e.g., \"my-project\")",
"type": "string"
},
"projectNumber": {
"description": "GCP project number (e.g., \"123456789012\")",
"type": "string"
},
"region": {
"description": "GCP region",
"type": "string"
}
}
}Fields§
§project_id: StringGCP project ID (e.g., “my-project”)
project_number: StringGCP project number (e.g., “123456789012”)
region: StringGCP region
Implementations§
Source§impl GcpEnvironmentInfo
impl GcpEnvironmentInfo
pub fn builder() -> GcpEnvironmentInfo
Trait Implementations§
Source§impl Clone for GcpEnvironmentInfo
impl Clone for GcpEnvironmentInfo
Source§fn clone(&self) -> GcpEnvironmentInfo
fn clone(&self) -> GcpEnvironmentInfo
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 GcpEnvironmentInfo
impl Debug for GcpEnvironmentInfo
Source§impl<'de> Deserialize<'de> for GcpEnvironmentInfo
impl<'de> Deserialize<'de> for GcpEnvironmentInfo
Source§fn 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
Source§impl From<&GcpEnvironmentInfo> for GcpEnvironmentInfo
impl From<&GcpEnvironmentInfo> for GcpEnvironmentInfo
Source§fn from(value: &GcpEnvironmentInfo) -> Self
fn from(value: &GcpEnvironmentInfo) -> Self
Converts to this type from the input type.
Source§impl From<GcpEnvironmentInfo> for GcpEnvironmentInfo
impl From<GcpEnvironmentInfo> for GcpEnvironmentInfo
Source§fn from(value: GcpEnvironmentInfo) -> Self
fn from(value: GcpEnvironmentInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for GcpEnvironmentInfo
impl Serialize for GcpEnvironmentInfo
Source§impl TryFrom<GcpEnvironmentInfo> for GcpEnvironmentInfo
impl TryFrom<GcpEnvironmentInfo> for GcpEnvironmentInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GcpEnvironmentInfo) -> Result<Self, ConversionError>
fn try_from(value: GcpEnvironmentInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpEnvironmentInfo
impl RefUnwindSafe for GcpEnvironmentInfo
impl Send for GcpEnvironmentInfo
impl Sync for GcpEnvironmentInfo
impl Unpin for GcpEnvironmentInfo
impl UnsafeUnpin for GcpEnvironmentInfo
impl UnwindSafe for GcpEnvironmentInfo
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