pub struct ServerUrlParam {
pub ident: RustIdent,
pub placeholder: String,
pub ty: ServerUrlParamType,
}Expand description
One parameter of a ServerUrlBuilder, bound to a URL placeholder.
Fields§
§ident: RustIdentsnake_case parameter identifier.
placeholder: StringThe placeholder name as it appears in the URL (without braces).
ty: ServerUrlParamTypeHow the parameter is typed and turned into its substituted string.
Trait Implementations§
Source§impl Clone for ServerUrlParam
impl Clone for ServerUrlParam
Source§fn clone(&self) -> ServerUrlParam
fn clone(&self) -> ServerUrlParam
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 ServerUrlParam
impl Debug for ServerUrlParam
Source§impl PartialEq for ServerUrlParam
impl PartialEq for ServerUrlParam
impl StructuralPartialEq for ServerUrlParam
Auto Trait Implementations§
impl Freeze for ServerUrlParam
impl RefUnwindSafe for ServerUrlParam
impl Send for ServerUrlParam
impl Sync for ServerUrlParam
impl Unpin for ServerUrlParam
impl UnsafeUnpin for ServerUrlParam
impl UnwindSafe for ServerUrlParam
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