pub struct StreamMessage {
pub responses: RepeatedField<StreamResponse>,
/* private fields */
}Fields§
§responses: RepeatedField<StreamResponse>Implementations§
Source§impl StreamMessage
impl StreamMessage
pub fn new() -> StreamMessage
pub fn default_instance() -> &'static StreamMessage
pub fn clear_responses(&mut self)
pub fn set_responses(&mut self, v: RepeatedField<StreamResponse>)
pub fn mut_responses(&mut self) -> &mut RepeatedField<StreamResponse>
pub fn take_responses(&mut self) -> RepeatedField<StreamResponse>
pub fn get_responses(&self) -> &[StreamResponse]
Trait Implementations§
Source§impl Clone for StreamMessage
impl Clone for StreamMessage
Source§fn clone(&self) -> StreamMessage
fn clone(&self) -> StreamMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamMessage
impl Debug for StreamMessage
Source§impl Default for StreamMessage
impl Default for StreamMessage
Source§fn default() -> StreamMessage
fn default() -> StreamMessage
Returns the “default value” for a type. Read more
Source§impl Message for StreamMessage
impl Message for StreamMessage
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn into_any(self: Box<Self>) -> Box<dyn Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
Source§impl MessageStatic for StreamMessage
impl MessageStatic for StreamMessage
fn new() -> StreamMessage
fn descriptor_static(_: Option<StreamMessage>) -> &'static MessageDescriptor
Source§impl PartialEq for StreamMessage
impl PartialEq for StreamMessage
Source§impl ProtobufValue for StreamMessage
impl ProtobufValue for StreamMessage
fn as_ref(&self) -> ProtobufValueRef<'_>
fn as_any(&self) -> &(dyn Any + 'static)
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
impl StructuralPartialEq for StreamMessage
impl Sync for StreamMessage
Auto Trait Implementations§
impl !Freeze for StreamMessage
impl !RefUnwindSafe for StreamMessage
impl Send for StreamMessage
impl Unpin for StreamMessage
impl UnwindSafe for StreamMessage
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