pub struct UpdateZoneRequest {
pub external_id: Option<String>,
pub name: Option<LocalizedString>,
pub parent_zone_id: Option<String>,
}Expand description
UpdateZoneRequest
JSON schema
{
"type": "object",
"properties": {
"external_id": {
"type": [
"string",
"null"
]
},
"name": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/LocalizedString"
}
]
}
]
},
"parent_zone_id": {
"type": [
"string",
"null"
]
}
}
}Fields§
§external_id: Option<String>§name: Option<LocalizedString>§parent_zone_id: Option<String>Trait Implementations§
Source§impl Clone for UpdateZoneRequest
impl Clone for UpdateZoneRequest
Source§fn clone(&self) -> UpdateZoneRequest
fn clone(&self) -> UpdateZoneRequest
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 UpdateZoneRequest
impl Debug for UpdateZoneRequest
Source§impl Default for UpdateZoneRequest
impl Default for UpdateZoneRequest
Source§impl<'de> Deserialize<'de> for UpdateZoneRequest
impl<'de> Deserialize<'de> for UpdateZoneRequest
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
Auto Trait Implementations§
impl Freeze for UpdateZoneRequest
impl RefUnwindSafe for UpdateZoneRequest
impl Send for UpdateZoneRequest
impl Sync for UpdateZoneRequest
impl Unpin for UpdateZoneRequest
impl UnsafeUnpin for UpdateZoneRequest
impl UnwindSafe for UpdateZoneRequest
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