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