pub struct ShuttleResourceOutput<T> {
pub output: T,
pub custom: Value,
}
Expand description
Returned when provisioning a Shuttle resource
Fields§
§output: T
The output type for this Shuttle resource, contains the data from the provisioner response
custom: Value
Arbitrary extra data in this resource
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for ShuttleResourceOutput<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ShuttleResourceOutput<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShuttleResourceOutput<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ShuttleResourceOutput<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<R: Serialize + DeserializeOwned + Send> IntoResource<R> for ShuttleResourceOutput<R>
impl<R: Serialize + DeserializeOwned + Send> IntoResource<R> for ShuttleResourceOutput<R>
Source§impl<T> Serialize for ShuttleResourceOutput<T>where
T: Serialize,
impl<T> Serialize for ShuttleResourceOutput<T>where
T: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<T> Freeze for ShuttleResourceOutput<T>where
T: Freeze,
impl<T> RefUnwindSafe for ShuttleResourceOutput<T>where
T: RefUnwindSafe,
impl<T> Send for ShuttleResourceOutput<T>where
T: Send,
impl<T> Sync for ShuttleResourceOutput<T>where
T: Sync,
impl<T> Unpin for ShuttleResourceOutput<T>where
T: Unpin,
impl<T> UnwindSafe for ShuttleResourceOutput<T>where
T: UnwindSafe,
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