pub struct NamedContract {
pub operation: Definition,
pub version: u32,
pub codec: Codec,
pub request: String,
pub response: String,
pub input: Option<String>,
pub output: Option<String>,
pub grpc: Option<Grpc>,
}Fields§
§operation: Definition§version: u32§codec: Codec§request: String§response: String§input: Option<String>§output: Option<String>§grpc: Option<Grpc>Implementations§
Source§impl NamedContract
impl NamedContract
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NamedContract
impl<'de> Deserialize<'de> for NamedContract
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedContract, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedContract, <__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 NamedContract
impl RefUnwindSafe for NamedContract
impl Send for NamedContract
impl Sync for NamedContract
impl Unpin for NamedContract
impl UnsafeUnpin for NamedContract
impl UnwindSafe for NamedContract
Blanket Implementations§
impl<T> Allocation for T
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