Enum shuttle_service::resource::ResourceInput
source · pub enum ResourceInput {
Shuttle(ProvisionResourceRequest),
Custom(Value),
}
Expand description
Helper for deserializing
Variants§
Shuttle(ProvisionResourceRequest)
Custom(Value)
Trait Implementations§
source§impl<'de> Deserialize<'de> for ResourceInput
impl<'de> Deserialize<'de> for ResourceInput
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResourceInput
impl RefUnwindSafe for ResourceInput
impl Send for ResourceInput
impl Sync for ResourceInput
impl Unpin for ResourceInput
impl UnwindSafe for ResourceInput
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