pub struct CommandDataDescription {
pub proto: ProtocolVersion,
pub headers: Headers,
pub result_cardinality: Cardinality,
pub input_typedesc_id: Uuid,
pub input_typedesc: Bytes,
pub output_typedesc_id: Uuid,
pub output_typedesc: Bytes,
}
Fields
proto: ProtocolVersion
headers: Headers
result_cardinality: Cardinality
input_typedesc_id: Uuid
input_typedesc: Bytes
output_typedesc_id: Uuid
output_typedesc: Bytes
Implementations
sourceimpl CommandDataDescription
impl CommandDataDescription
pub fn output(&self) -> Result<OutputTypedesc, DecodeError>
pub fn input(&self) -> Result<InputTypedesc, DecodeError>
Trait Implementations
sourceimpl Clone for CommandDataDescription
impl Clone for CommandDataDescription
sourcefn clone(&self) -> CommandDataDescription
fn clone(&self) -> CommandDataDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommandDataDescription
impl Debug for CommandDataDescription
sourceimpl PartialEq<CommandDataDescription> for CommandDataDescription
impl PartialEq<CommandDataDescription> for CommandDataDescription
sourcefn eq(&self, other: &CommandDataDescription) -> bool
fn eq(&self, other: &CommandDataDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CommandDataDescription) -> bool
fn ne(&self, other: &CommandDataDescription) -> bool
This method tests for !=
.
impl Eq for CommandDataDescription
impl StructuralEq for CommandDataDescription
impl StructuralPartialEq for CommandDataDescription
Auto Trait Implementations
impl RefUnwindSafe for CommandDataDescription
impl Send for CommandDataDescription
impl Sync for CommandDataDescription
impl Unpin for CommandDataDescription
impl UnwindSafe for CommandDataDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more