pub struct WireDeclaration {
pub operation: Entry,
pub codec: &'static str,
pub response_codec: &'static str,
pub input_codec: Option<&'static str>,
pub output_codec: Option<&'static str>,
pub request: Definition,
pub response: Definition,
pub input: Option<Definition>,
pub output: Option<Definition>,
pub grpc: Option<Grpc>,
}Fields§
§operation: Entry§codec: &'static str§response_codec: &'static str§input_codec: Option<&'static str>§output_codec: Option<&'static str>§request: Definition§response: Definition§input: Option<Definition>§output: Option<Definition>§grpc: Option<Grpc>Implementations§
Source§impl WireDeclaration
impl WireDeclaration
pub const fn copied(&self) -> WireDeclaration
pub const fn of<O>() -> WireDeclarationwhere
O: OperationDeclaration,
pub fn contract(&self) -> Result<Contract, ContractError>
pub fn contract_with_settings( &self, settings: &SchemaSettings, ) -> Result<Contract, ContractError>
Trait Implementations§
Source§impl Clone for WireDeclaration
impl Clone for WireDeclaration
Source§fn clone(&self) -> WireDeclaration
fn clone(&self) -> WireDeclaration
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<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Host
impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Host
Source§impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Lifecycle
impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Lifecycle
Source§impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Storagewhere
__HarmosVisitor: Visitor<Entry = WireDeclaration> + Member<ListDirectory> + Member<WatchDirectory> + Member<Query> + Member<ReadFile> + Member<HashFile> + Member<CaptureFile> + Member<FollowProduction> + Member<FollowRecords> + Member<FollowStream> + Member<FollowFile> + Member<StorageStatus> + Member<ResumeFile> + Member<CreateFile> + Member<AppendFile> + Member<FinishFile> + Member<AbandonFile> + Member<WriteRecords> + Member<WriteStreams> + Member<WriteFile> + Member<DeleteFile> + Member<WriteSchema> + Member<WriteObjects> + Member<FollowObjects>,
impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Storagewhere
__HarmosVisitor: Visitor<Entry = WireDeclaration> + Member<ListDirectory> + Member<WatchDirectory> + Member<Query> + Member<ReadFile> + Member<HashFile> + Member<CaptureFile> + Member<FollowProduction> + Member<FollowRecords> + Member<FollowStream> + Member<FollowFile> + Member<StorageStatus> + Member<ResumeFile> + Member<CreateFile> + Member<AppendFile> + Member<FinishFile> + Member<AbandonFile> + Member<WriteRecords> + Member<WriteStreams> + Member<WriteFile> + Member<DeleteFile> + Member<WriteSchema> + Member<WriteObjects> + Member<FollowObjects>,
Source§impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Streams
impl<__HarmosVisitor> InertCatalog<__HarmosVisitor, WireDeclaration> for Streams
Auto Trait Implementations§
impl Freeze for WireDeclaration
impl RefUnwindSafe for WireDeclaration
impl Send for WireDeclaration
impl Sync for WireDeclaration
impl Unpin for WireDeclaration
impl UnsafeUnpin for WireDeclaration
impl UnwindSafe for WireDeclaration
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