pub struct GcpServiceOverrides {
pub endpoints: HashMap<String, String>,
}Expand description
Service endpoint overrides for testing GCP services
JSON schema
{
"description": "Service endpoint overrides for testing GCP services",
"type": "object",
"required": [
"endpoints"
],
"properties": {
"endpoints": {
"description": "Override endpoints for specific GCP services\nKey is the service name (e.g., \"cloudrun\", \"storage\"), value is the base URL",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
}Fields§
§endpoints: HashMap<String, String>Override endpoints for specific GCP services Key is the service name (e.g., “cloudrun”, “storage”), value is the base URL
Implementations§
Source§impl GcpServiceOverrides
impl GcpServiceOverrides
pub fn builder() -> GcpServiceOverrides
Trait Implementations§
Source§impl Clone for GcpServiceOverrides
impl Clone for GcpServiceOverrides
Source§fn clone(&self) -> GcpServiceOverrides
fn clone(&self) -> GcpServiceOverrides
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GcpServiceOverrides
impl Debug for GcpServiceOverrides
Source§impl<'de> Deserialize<'de> for GcpServiceOverrides
impl<'de> Deserialize<'de> for GcpServiceOverrides
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<&GcpServiceOverrides> for GcpServiceOverrides
impl From<&GcpServiceOverrides> for GcpServiceOverrides
Source§fn from(value: &GcpServiceOverrides) -> Self
fn from(value: &GcpServiceOverrides) -> Self
Converts to this type from the input type.
Source§impl From<GcpServiceOverrides> for GcpServiceOverrides
impl From<GcpServiceOverrides> for GcpServiceOverrides
Source§fn from(value: GcpServiceOverrides) -> Self
fn from(value: GcpServiceOverrides) -> Self
Converts to this type from the input type.
Source§impl Serialize for GcpServiceOverrides
impl Serialize for GcpServiceOverrides
Source§impl TryFrom<GcpServiceOverrides> for GcpServiceOverrides
impl TryFrom<GcpServiceOverrides> for GcpServiceOverrides
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GcpServiceOverrides) -> Result<Self, ConversionError>
fn try_from(value: GcpServiceOverrides) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpServiceOverrides
impl RefUnwindSafe for GcpServiceOverrides
impl Send for GcpServiceOverrides
impl Sync for GcpServiceOverrides
impl Unpin for GcpServiceOverrides
impl UnsafeUnpin for GcpServiceOverrides
impl UnwindSafe for GcpServiceOverrides
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