Struct xComLib::ChannelEvent
source · pub struct ChannelEvent {
pub channel_ip: String,
pub channel_id: i64,
pub is_active: bool,
/* private fields */
}
Fields§
§channel_ip: String
§channel_id: i64
§is_active: bool
Trait Implementations§
source§impl Debug for ChannelEvent
impl Debug for ChannelEvent
source§impl Default for ChannelEvent
impl Default for ChannelEvent
source§fn default() -> ChannelEvent
fn default() -> ChannelEvent
Returns the “default value” for a type. Read more
source§impl RequestMessage for ChannelEvent
impl RequestMessage for ChannelEvent
fn compute_size(&self) -> u64
fn serial_with_output_stream( &self, os: &mut CodedOutputStream<'_> ) -> Result<(), Status>
fn parse_from_input_stream( &mut self, is: &mut CodedInputStream<'_> ) -> Result<(), Status>
fn compute_size_with_tag_and_len(&self) -> u64
fn serial_with_tag_and_len(&self, os: &mut CodedOutputStream<'_>)
fn serial(&self) -> Result<Vec<u8>, String>
fn parse_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Status>
fn parse_from_input_stream_with_tag_and_len( &mut self, is: &mut CodedInputStream<'_> )
fn parse_from_bytes_return_num(&mut self, bytes: &[u8]) -> Result<u64, Status>
Auto Trait Implementations§
impl RefUnwindSafe for ChannelEvent
impl Send for ChannelEvent
impl Sync for ChannelEvent
impl Unpin for ChannelEvent
impl UnwindSafe for ChannelEvent
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