pub struct SubnetPoolUpdate {
pub description: Option<String>,
pub name: Option<Name>,
}Expand description
Update a subnet pool
JSON schema
{
"description": "Update a subnet pool",
"type": "object",
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"name": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Name"
}
]
}
]
}
}
}Fields§
§description: Option<String>§name: Option<Name>Implementations§
Source§impl SubnetPoolUpdate
impl SubnetPoolUpdate
pub fn builder() -> SubnetPoolUpdate
Trait Implementations§
Source§impl Clone for SubnetPoolUpdate
impl Clone for SubnetPoolUpdate
Source§fn clone(&self) -> SubnetPoolUpdate
fn clone(&self) -> SubnetPoolUpdate
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 SubnetPoolUpdate
impl Debug for SubnetPoolUpdate
Source§impl Default for SubnetPoolUpdate
impl Default for SubnetPoolUpdate
Source§impl<'de> Deserialize<'de> for SubnetPoolUpdate
impl<'de> Deserialize<'de> for SubnetPoolUpdate
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<SubnetPoolUpdate> for SubnetPoolUpdate
impl From<SubnetPoolUpdate> for SubnetPoolUpdate
Source§fn from(value: SubnetPoolUpdate) -> Self
fn from(value: SubnetPoolUpdate) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for SubnetPoolUpdate
impl JsonSchema for SubnetPoolUpdate
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for SubnetPoolUpdate
impl Serialize for SubnetPoolUpdate
Source§impl TryFrom<SubnetPoolUpdate> for SubnetPoolUpdate
impl TryFrom<SubnetPoolUpdate> for SubnetPoolUpdate
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SubnetPoolUpdate) -> Result<Self, ConversionError>
fn try_from(value: SubnetPoolUpdate) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SubnetPoolUpdate
impl RefUnwindSafe for SubnetPoolUpdate
impl Send for SubnetPoolUpdate
impl Sync for SubnetPoolUpdate
impl Unpin for SubnetPoolUpdate
impl UnsafeUnpin for SubnetPoolUpdate
impl UnwindSafe for SubnetPoolUpdate
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