pub struct UrlQueryParameter {
pub name: String,
pub value: String,
}Expand description
A query parameter that a resource transform rule adds to a URL.
Pass name and value unencoded. The library percent-encodes every byte of
them except the letters, digits, -, ., _, and ~, and adds them as
name=value.
See mln_url_query_parameter in the
C API reference.
Fields§
§name: String§value: StringImplementations§
Trait Implementations§
Source§impl Clone for UrlQueryParameter
impl Clone for UrlQueryParameter
Source§fn clone(&self) -> UrlQueryParameter
fn clone(&self) -> UrlQueryParameter
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 UrlQueryParameter
impl Debug for UrlQueryParameter
Source§impl PartialEq for UrlQueryParameter
impl PartialEq for UrlQueryParameter
impl StructuralPartialEq for UrlQueryParameter
Auto Trait Implementations§
impl Freeze for UrlQueryParameter
impl RefUnwindSafe for UrlQueryParameter
impl Send for UrlQueryParameter
impl Sync for UrlQueryParameter
impl Unpin for UrlQueryParameter
impl UnsafeUnpin for UrlQueryParameter
impl UnwindSafe for UrlQueryParameter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more