pub struct InternetGatewayIpPool {
pub description: String,
pub id: Uuid,
pub internet_gateway_id: Uuid,
pub ip_pool_id: Uuid,
pub name: Name,
pub time_created: DateTime<Utc>,
pub time_modified: DateTime<Utc>,
}Expand description
An IP pool that is attached to an internet gateway
JSON schema
{
"description": "An IP pool that is attached to an internet gateway",
"type": "object",
"required": [
"description",
"id",
"internet_gateway_id",
"ip_pool_id",
"name",
"time_created",
"time_modified"
],
"properties": {
"description": {
"description": "human-readable free-form text about a resource",
"type": "string"
},
"id": {
"description": "unique, immutable, system-controlled identifier for
each resource",
"type": "string",
"format": "uuid"
},
"internet_gateway_id": {
"description": "The associated internet gateway.",
"type": "string",
"format": "uuid"
},
"ip_pool_id": {
"description": "The associated IP pool.",
"type": "string",
"format": "uuid"
},
"name": {
"description": "unique, mutable, user-controlled identifier for
each resource",
"allOf": [
{
"$ref": "#/components/schemas/Name"
}
]
},
"time_created": {
"description": "timestamp when this resource was created",
"type": "string",
"format": "date-time"
},
"time_modified": {
"description": "timestamp when this resource was last modified",
"type": "string",
"format": "date-time"
}
}
}Fields§
§description: Stringhuman-readable free-form text about a resource
id: Uuidunique, immutable, system-controlled identifier for each resource
internet_gateway_id: UuidThe associated internet gateway.
ip_pool_id: UuidThe associated IP pool.
name: Nameunique, mutable, user-controlled identifier for each resource
time_created: DateTime<Utc>timestamp when this resource was created
time_modified: DateTime<Utc>timestamp when this resource was last modified
Implementations§
Source§impl InternetGatewayIpPool
impl InternetGatewayIpPool
pub fn builder() -> InternetGatewayIpPool
Trait Implementations§
Source§impl Clone for InternetGatewayIpPool
impl Clone for InternetGatewayIpPool
Source§fn clone(&self) -> InternetGatewayIpPool
fn clone(&self) -> InternetGatewayIpPool
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 InternetGatewayIpPool
impl Debug for InternetGatewayIpPool
Source§impl<'de> Deserialize<'de> for InternetGatewayIpPool
impl<'de> Deserialize<'de> for InternetGatewayIpPool
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<&InternetGatewayIpPool> for InternetGatewayIpPool
impl From<&InternetGatewayIpPool> for InternetGatewayIpPool
Source§fn from(value: &InternetGatewayIpPool) -> Self
fn from(value: &InternetGatewayIpPool) -> Self
Converts to this type from the input type.
Source§impl From<InternetGatewayIpPool> for InternetGatewayIpPool
impl From<InternetGatewayIpPool> for InternetGatewayIpPool
Source§fn from(value: InternetGatewayIpPool) -> Self
fn from(value: InternetGatewayIpPool) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for InternetGatewayIpPool
impl JsonSchema for InternetGatewayIpPool
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 InternetGatewayIpPool
impl Serialize for InternetGatewayIpPool
Source§impl TryFrom<InternetGatewayIpPool> for InternetGatewayIpPool
impl TryFrom<InternetGatewayIpPool> for InternetGatewayIpPool
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: InternetGatewayIpPool) -> Result<Self, ConversionError>
fn try_from(value: InternetGatewayIpPool) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for InternetGatewayIpPool
impl RefUnwindSafe for InternetGatewayIpPool
impl Send for InternetGatewayIpPool
impl Sync for InternetGatewayIpPool
impl Unpin for InternetGatewayIpPool
impl UnwindSafe for InternetGatewayIpPool
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