pub struct LspQueryResp {
pub nonce: u16,
pub status: u8,
pub flags: u8,
pub detail: String,
pub records: Vec<u8>,
}Expand description
A decoded S2C_LSP_QUERY response.
Fields§
§nonce: u16§status: u8§flags: u8§detail: StringHuman-readable failure reason (e.g. the upstream server’s own
error message on OTHER); empty on success.
records: Vec<u8>Decompressed response records.
Trait Implementations§
Source§impl Clone for LspQueryResp
impl Clone for LspQueryResp
Source§fn clone(&self) -> LspQueryResp
fn clone(&self) -> LspQueryResp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspQueryResp
impl Debug for LspQueryResp
impl Eq for LspQueryResp
Source§impl PartialEq for LspQueryResp
impl PartialEq for LspQueryResp
impl StructuralPartialEq for LspQueryResp
Auto Trait Implementations§
impl Freeze for LspQueryResp
impl RefUnwindSafe for LspQueryResp
impl Send for LspQueryResp
impl Sync for LspQueryResp
impl Unpin for LspQueryResp
impl UnsafeUnpin for LspQueryResp
impl UnwindSafe for LspQueryResp
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