Struct Diagnostic Read Request
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct DiagnosticReadRequest {
pub credentials: Option<DiagnosticCredentials>,
pub session_id: Vec<u8>,
pub component: Option<String>,
pub code: Option<String>,
pub after_sequence: Option<u64>,
pub max_components: u32,
pub max_events: u32,
pub continuation: Vec<u8>,
}
Fields
credentials: Option<DiagnosticCredentials>
session_id: Vec<u8>
component: Option<String>
Canonical query is a closed transport structure; cursor is host-bound.
code: Option<String>
after_sequence: Option<u64>
max_components: u32
max_events: u32
continuation: Vec<u8>
Implementations
impl DiagnosticReadRequest
impl DiagnosticReadRequest
component
pub fn component(&self) -> &str
Returns the value of component, or the default value if component is unset.
code
pub fn code(&self) -> &str
Returns the value of code, or the default value if code is unset.
after_sequence
pub fn after_sequence(&self) -> u64
Returns the value of after_sequence, or the default value if after_sequence is unset.
Trait Implementations
impl Clone for DiagnosticReadRequest
impl Clone for DiagnosticReadRequest
clone
fn clone(&self) -> DiagnosticReadRequest
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for DiagnosticReadRequest
impl Debug for DiagnosticReadRequest
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for DiagnosticReadRequest
impl Default for DiagnosticReadRequest
default
fn default() -> Self
impl Hash for DiagnosticReadRequest
impl Hash for DiagnosticReadRequest
hash
fn hash<__H: Hasher>(&self, state: &mut __H)
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl Message for DiagnosticReadRequest
impl Message for DiagnosticReadRequest
encoded_len
fn encoded_len(&self) -> usize
clear
fn clear(&mut self)
encode
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
encode_to_vec
fn encode_to_vec(&self) -> Vec<u8> where
Self: Sized,
encode_length_delimited
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
encode_length_delimited_to_vec
fn encode_length_delimited_to_vec(&self) -> Vec<u8> where
Self: Sized,
decode
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
decode_length_delimited
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
merge
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
merge_length_delimited
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
impl PartialEq for DiagnosticReadRequest
impl PartialEq for DiagnosticReadRequest
eq
fn eq(&self, other: &DiagnosticReadRequest) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Eq for DiagnosticReadRequest
impl Eq for DiagnosticReadRequest
impl StructuralPartialEq for DiagnosticReadRequest
impl StructuralPartialEq for DiagnosticReadRequest