pub struct ModelStorageObjectOwnedExternalServiceSpec {
pub address_pool: Option<String>,
pub ip: Option<Ipv4Addr>,
}
Fields§
§address_pool: Option<String>
§ip: Option<Ipv4Addr>
Implementations§
Source§impl ModelStorageObjectOwnedExternalServiceSpec
impl ModelStorageObjectOwnedExternalServiceSpec
pub const fn is_enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for ModelStorageObjectOwnedExternalServiceSpec
impl Clone for ModelStorageObjectOwnedExternalServiceSpec
Source§fn clone(&self) -> ModelStorageObjectOwnedExternalServiceSpec
fn clone(&self) -> ModelStorageObjectOwnedExternalServiceSpec
Returns a copy 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 Default for ModelStorageObjectOwnedExternalServiceSpec
impl Default for ModelStorageObjectOwnedExternalServiceSpec
Source§fn default() -> ModelStorageObjectOwnedExternalServiceSpec
fn default() -> ModelStorageObjectOwnedExternalServiceSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelStorageObjectOwnedExternalServiceSpec
impl<'de> Deserialize<'de> for ModelStorageObjectOwnedExternalServiceSpec
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 JsonSchema for ModelStorageObjectOwnedExternalServiceSpec
impl JsonSchema for ModelStorageObjectOwnedExternalServiceSpec
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 PartialEq for ModelStorageObjectOwnedExternalServiceSpec
impl PartialEq for ModelStorageObjectOwnedExternalServiceSpec
Source§fn eq(&self, other: &ModelStorageObjectOwnedExternalServiceSpec) -> bool
fn eq(&self, other: &ModelStorageObjectOwnedExternalServiceSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModelStorageObjectOwnedExternalServiceSpec
Auto Trait Implementations§
impl Freeze for ModelStorageObjectOwnedExternalServiceSpec
impl RefUnwindSafe for ModelStorageObjectOwnedExternalServiceSpec
impl Send for ModelStorageObjectOwnedExternalServiceSpec
impl Sync for ModelStorageObjectOwnedExternalServiceSpec
impl Unpin for ModelStorageObjectOwnedExternalServiceSpec
impl UnwindSafe for ModelStorageObjectOwnedExternalServiceSpec
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