pub struct UpdateServerOptions {Show 15 fields
pub owner_uuid: Option<Uuid>,
pub egg_uuid: Option<Uuid>,
pub backup_configuration_uuid: Option<Option<Uuid>>,
pub suspended: Option<bool>,
pub external_id: Option<Option<CompactString>>,
pub name: Option<CompactString>,
pub description: Option<Option<CompactString>>,
pub limits: Option<AdminApiServerLimits>,
pub pinned_cpus: Option<Vec<i16>>,
pub startup: Option<CompactString>,
pub image: Option<CompactString>,
pub timezone: Option<Option<Tz>>,
pub hugepages_passthrough_enabled: Option<bool>,
pub kvm_passthrough_enabled: Option<bool>,
pub feature_limits: Option<ApiServerFeatureLimits>,
}Fields§
§owner_uuid: Option<Uuid>§egg_uuid: Option<Uuid>§backup_configuration_uuid: Option<Option<Uuid>>§suspended: Option<bool>§external_id: Option<Option<CompactString>>§name: Option<CompactString>§description: Option<Option<CompactString>>§limits: Option<AdminApiServerLimits>§pinned_cpus: Option<Vec<i16>>§startup: Option<CompactString>§image: Option<CompactString>§timezone: Option<Option<Tz>>§hugepages_passthrough_enabled: Option<bool>§kvm_passthrough_enabled: Option<bool>§feature_limits: Option<ApiServerFeatureLimits>Trait Implementations§
Source§impl Clone for UpdateServerOptions
impl Clone for UpdateServerOptions
Source§fn clone(&self) -> UpdateServerOptions
fn clone(&self) -> UpdateServerOptions
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 ComposeSchema for UpdateServerOptions
impl ComposeSchema for UpdateServerOptions
Source§impl Default for UpdateServerOptions
impl Default for UpdateServerOptions
Source§fn default() -> UpdateServerOptions
fn default() -> UpdateServerOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateServerOptions
impl<'de> Deserialize<'de> for UpdateServerOptions
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 Serialize for UpdateServerOptions
impl Serialize for UpdateServerOptions
Source§impl ToSchema for UpdateServerOptions
impl ToSchema for UpdateServerOptions
Source§impl Validate for UpdateServerOptions
impl Validate for UpdateServerOptions
Source§fn validate_into(
&self,
__garde_user_ctx: &Self::Context,
__garde_path: &mut dyn FnMut() -> Path,
__garde_report: &mut Report,
)
fn validate_into( &self, __garde_user_ctx: &Self::Context, __garde_path: &mut dyn FnMut() -> Path, __garde_report: &mut Report, )
Validates
Self, aggregating all validation errors into Report.§fn validate(&self) -> Result<(), Report>where
Self::Context: Default,
fn validate(&self) -> Result<(), Report>where
Self::Context: Default,
Validates
Self, returning an Err with an aggregate of all errors if
the validation failed. Read more§fn validate_with(&self, ctx: &Self::Context) -> Result<(), Report>
fn validate_with(&self, ctx: &Self::Context) -> Result<(), Report>
Validates
Self, returning an Err with an aggregate of all errors if
the validation failed. Read moreAuto Trait Implementations§
impl Freeze for UpdateServerOptions
impl RefUnwindSafe for UpdateServerOptions
impl Send for UpdateServerOptions
impl Sync for UpdateServerOptions
impl Unpin for UpdateServerOptions
impl UnwindSafe for UpdateServerOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more