pub enum ServicePostServiceDetails {
StaticSiteDetailsPost(StaticSiteDetailsPost),
WebServiceDetailsPost(WebServiceDetailsPost),
PrivateServiceDetailsPost(PrivateServiceDetailsPost),
BackgroundWorkerDetailsPost(BackgroundWorkerDetailsPost),
CronJobDetailsPost(CronJobDetailsPost),
}Expand description
ServicePostServiceDetails
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/staticSiteDetailsPOST"
},
{
"$ref": "#/components/schemas/webServiceDetailsPOST"
},
{
"$ref": "#/components/schemas/privateServiceDetailsPOST"
},
{
"$ref": "#/components/schemas/backgroundWorkerDetailsPOST"
},
{
"$ref": "#/components/schemas/cronJobDetailsPOST"
}
]
}Variants§
StaticSiteDetailsPost(StaticSiteDetailsPost)
WebServiceDetailsPost(WebServiceDetailsPost)
PrivateServiceDetailsPost(PrivateServiceDetailsPost)
BackgroundWorkerDetailsPost(BackgroundWorkerDetailsPost)
CronJobDetailsPost(CronJobDetailsPost)
Trait Implementations§
Source§impl Clone for ServicePostServiceDetails
impl Clone for ServicePostServiceDetails
Source§fn clone(&self) -> ServicePostServiceDetails
fn clone(&self) -> ServicePostServiceDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServicePostServiceDetails
impl Debug for ServicePostServiceDetails
Source§impl<'de> Deserialize<'de> for ServicePostServiceDetails
impl<'de> Deserialize<'de> for ServicePostServiceDetails
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<BackgroundWorkerDetailsPost> for ServicePostServiceDetails
impl From<BackgroundWorkerDetailsPost> for ServicePostServiceDetails
Source§fn from(value: BackgroundWorkerDetailsPost) -> Self
fn from(value: BackgroundWorkerDetailsPost) -> Self
Converts to this type from the input type.
Source§impl From<CronJobDetailsPost> for ServicePostServiceDetails
impl From<CronJobDetailsPost> for ServicePostServiceDetails
Source§fn from(value: CronJobDetailsPost) -> Self
fn from(value: CronJobDetailsPost) -> Self
Converts to this type from the input type.
Source§impl From<PrivateServiceDetailsPost> for ServicePostServiceDetails
impl From<PrivateServiceDetailsPost> for ServicePostServiceDetails
Source§fn from(value: PrivateServiceDetailsPost) -> Self
fn from(value: PrivateServiceDetailsPost) -> Self
Converts to this type from the input type.
Source§impl From<StaticSiteDetailsPost> for ServicePostServiceDetails
impl From<StaticSiteDetailsPost> for ServicePostServiceDetails
Source§fn from(value: StaticSiteDetailsPost) -> Self
fn from(value: StaticSiteDetailsPost) -> Self
Converts to this type from the input type.
Source§impl From<WebServiceDetailsPost> for ServicePostServiceDetails
impl From<WebServiceDetailsPost> for ServicePostServiceDetails
Source§fn from(value: WebServiceDetailsPost) -> Self
fn from(value: WebServiceDetailsPost) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServicePostServiceDetails
impl RefUnwindSafe for ServicePostServiceDetails
impl Send for ServicePostServiceDetails
impl Sync for ServicePostServiceDetails
impl Unpin for ServicePostServiceDetails
impl UnsafeUnpin for ServicePostServiceDetails
impl UnwindSafe for ServicePostServiceDetails
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