pub struct ProtocolQuery {
pub raw_query: String,
pub parameters: Vec<String>,
pub protocol_type: ProtocolType,
}Expand description
Protocol-specific query representation
Fields§
§raw_query: String§parameters: Vec<String>§protocol_type: ProtocolTypeImplementations§
Source§impl ProtocolQuery
impl ProtocolQuery
pub fn new(raw_query: String, protocol_type: ProtocolType) -> Self
pub fn with_parameters(self, parameters: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for ProtocolQuery
impl Clone for ProtocolQuery
Source§fn clone(&self) -> ProtocolQuery
fn clone(&self) -> ProtocolQuery
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 moreAuto Trait Implementations§
impl Freeze for ProtocolQuery
impl RefUnwindSafe for ProtocolQuery
impl Send for ProtocolQuery
impl Sync for ProtocolQuery
impl Unpin for ProtocolQuery
impl UnwindSafe for ProtocolQuery
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