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