pub struct UrlBinding {
pub as_name: Option<&'static str>,
pub push: bool,
pub always_show: bool,
pub except: &'static str,
}Expand description
How a field follows the page’s query string.
Fields§
§as_name: Option<&'static str>The query string key, which defaults to the field name.
push: boolWhether a change pushes a history entry or replaces the current one.
always_show: boolWhether the key stays in the query string when the field is at its default.
except: &'static strKeys to leave out of the generated query string.
Trait Implementations§
Source§impl Clone for UrlBinding
impl Clone for UrlBinding
impl Copy for UrlBinding
Source§impl Debug for UrlBinding
impl Debug for UrlBinding
impl Eq for UrlBinding
Source§impl PartialEq for UrlBinding
impl PartialEq for UrlBinding
impl StructuralPartialEq for UrlBinding
Auto Trait Implementations§
impl Forget for UrlBinding
impl Freeze for UrlBinding
impl Move for UrlBinding
impl RefUnwindSafe for UrlBinding
impl Send for UrlBinding
impl Sync for UrlBinding
impl Unpin for UrlBinding
impl UnsafeUnpin for UrlBindingwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for UrlBindingwhere
&'static str: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.