pub struct GetInfraStorageResponse {
pub configured_driver: Option<String>,
pub driver: GetInfraStorageResponseDriver,
pub s3: GetInfraStorageResponseS3,
}Expand description
GetInfraStorageResponse
JSON schema
{
"type": "object",
"required": [
"configuredDriver",
"driver",
"s3"
],
"properties": {
"configuredDriver": {
"type": [
"string",
"null"
]
},
"driver": {
"type": "string",
"enum": [
"off",
"disk",
"s3"
]
},
"s3": {
"type": "object",
"required": [
"accessKeyConfigured",
"bucket",
"endpoint",
"publicBaseUrl",
"region",
"secretKeyConfigured"
],
"properties": {
"accessKeyConfigured": {
"type": "boolean"
},
"bucket": {
"type": [
"string",
"null"
]
},
"endpoint": {
"type": [
"string",
"null"
]
},
"publicBaseUrl": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"secretKeyConfigured": {
"type": "boolean"
}
}
}
}
}Fields§
§configured_driver: Option<String>§driver: GetInfraStorageResponseDriver§s3: GetInfraStorageResponseS3Implementations§
Source§impl GetInfraStorageResponse
impl GetInfraStorageResponse
pub fn builder() -> GetInfraStorageResponse
Trait Implementations§
Source§impl Clone for GetInfraStorageResponse
impl Clone for GetInfraStorageResponse
Source§fn clone(&self) -> GetInfraStorageResponse
fn clone(&self) -> GetInfraStorageResponse
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 GetInfraStorageResponse
impl Debug for GetInfraStorageResponse
Source§impl<'de> Deserialize<'de> for GetInfraStorageResponse
impl<'de> Deserialize<'de> for GetInfraStorageResponse
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<&GetInfraStorageResponse> for GetInfraStorageResponse
impl From<&GetInfraStorageResponse> for GetInfraStorageResponse
Source§fn from(value: &GetInfraStorageResponse) -> Self
fn from(value: &GetInfraStorageResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetInfraStorageResponse> for GetInfraStorageResponse
impl From<GetInfraStorageResponse> for GetInfraStorageResponse
Source§fn from(value: GetInfraStorageResponse) -> Self
fn from(value: GetInfraStorageResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetInfraStorageResponse
impl Serialize for GetInfraStorageResponse
Source§impl TryFrom<GetInfraStorageResponse> for GetInfraStorageResponse
impl TryFrom<GetInfraStorageResponse> for GetInfraStorageResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetInfraStorageResponse) -> Result<Self, ConversionError>
fn try_from(value: GetInfraStorageResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetInfraStorageResponse
impl RefUnwindSafe for GetInfraStorageResponse
impl Send for GetInfraStorageResponse
impl Sync for GetInfraStorageResponse
impl Unpin for GetInfraStorageResponse
impl UnsafeUnpin for GetInfraStorageResponse
impl UnwindSafe for GetInfraStorageResponse
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