[−][src]Struct transact::protos::command::CommandPayload
Fields
commands: RepeatedField<Command>
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl CommandPayload
[src]
pub fn new() -> CommandPayload
[src]
pub fn get_commands(&self) -> &[Command]
[src]
pub fn clear_commands(&mut self)
[src]
pub fn set_commands(&mut self, v: RepeatedField<Command>)
[src]
pub fn mut_commands(&mut self) -> &mut RepeatedField<Command>
[src]
pub fn take_commands(&mut self) -> RepeatedField<Command>
[src]
Trait Implementations
impl FromProto<CommandPayload> for CommandPayload
[src]
fn from_proto(payload: CommandPayload) -> Result<Self, ProtoConversionError>
[src]
impl FromNative<CommandPayload> for CommandPayload
[src]
fn from_native(payload: CommandPayload) -> Result<Self, ProtoConversionError>
[src]
impl IntoNative<CommandPayload> for CommandPayload
[src]
fn into_native(self) -> Result<T, ProtoConversionError>
[src]
impl IntoProto<CommandPayload> for CommandPayload
[src]
fn into_proto(self) -> Result<T, ProtoConversionError>
[src]
impl Default for CommandPayload
[src]
fn default() -> CommandPayload
[src]
impl<'a> Default for &'a CommandPayload
[src]
fn default() -> &'a CommandPayload
[src]
impl Clone for CommandPayload
[src]
fn clone(&self) -> CommandPayload
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<CommandPayload> for CommandPayload
[src]
fn eq(&self, other: &CommandPayload) -> bool
[src]
fn ne(&self, other: &CommandPayload) -> bool
[src]
impl Debug for CommandPayload
[src]
impl Message for CommandPayload
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> CommandPayload
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static CommandPayload
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl Clear for CommandPayload
[src]
impl ProtobufValue for CommandPayload
[src]
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
Auto Trait Implementations
impl Send for CommandPayload
impl Unpin for CommandPayload
impl Sync for CommandPayload
impl UnwindSafe for CommandPayload
impl RefUnwindSafe for CommandPayload
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<T> Same<T> for T
type Output = T
Should always be Self