pub struct CreateNestEggOptions {Show 16 fields
pub nest_uuid: Uuid,
pub egg_repository_egg_uuid: Option<Uuid>,
pub author: CompactString,
pub name: CompactString,
pub description: Option<CompactString>,
pub config_files: Vec<ProcessConfigurationFile>,
pub config_startup: NestEggConfigStartup,
pub config_stop: NestEggConfigStop,
pub config_script: NestEggConfigScript,
pub config_allocations: NestEggConfigAllocations,
pub startup: CompactString,
pub force_outgoing_ip: bool,
pub separate_port: bool,
pub features: Vec<CompactString>,
pub docker_images: IndexMap<CompactString, CompactString>,
pub file_denylist: Vec<CompactString>,
}Fields§
§nest_uuid: Uuid§egg_repository_egg_uuid: Option<Uuid>§name: CompactString§description: Option<CompactString>§config_files: Vec<ProcessConfigurationFile>§config_startup: NestEggConfigStartup§config_stop: NestEggConfigStop§config_script: NestEggConfigScript§config_allocations: NestEggConfigAllocations§startup: CompactString§force_outgoing_ip: bool§separate_port: bool§features: Vec<CompactString>§docker_images: IndexMap<CompactString, CompactString>§file_denylist: Vec<CompactString>Trait Implementations§
Source§impl ComposeSchema for CreateNestEggOptions
impl ComposeSchema for CreateNestEggOptions
Source§impl<'de> Deserialize<'de> for CreateNestEggOptions
impl<'de> Deserialize<'de> for CreateNestEggOptions
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 ToSchema for CreateNestEggOptions
impl ToSchema for CreateNestEggOptions
Source§impl Validate for CreateNestEggOptions
impl Validate for CreateNestEggOptions
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 CreateNestEggOptions
impl RefUnwindSafe for CreateNestEggOptions
impl Send for CreateNestEggOptions
impl Sync for CreateNestEggOptions
impl Unpin for CreateNestEggOptions
impl UnwindSafe for CreateNestEggOptions
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
§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