pub struct QueryParameter {
pub key: String,
pub field_path: Vec<String>,
}Expand description
A mapping from a query parameter key to a protobuf field path.
Fields§
§key: StringThe key in the query string (e.g., “page_size”).
field_path: Vec<String>The target field path in the protobuf message (e.g., “page_size”).
Trait Implementations§
Source§impl Clone for QueryParameter
impl Clone for QueryParameter
Source§fn clone(&self) -> QueryParameter
fn clone(&self) -> QueryParameter
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 QueryParameter
impl Debug for QueryParameter
Source§impl PartialEq for QueryParameter
impl PartialEq for QueryParameter
impl StructuralPartialEq for QueryParameter
Auto Trait Implementations§
impl Freeze for QueryParameter
impl RefUnwindSafe for QueryParameter
impl Send for QueryParameter
impl Sync for QueryParameter
impl Unpin for QueryParameter
impl UnwindSafe for QueryParameter
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