pub struct ServerUrlConst {
pub name: RustIdent,
pub doc: Option<String>,
pub url: String,
}Expand description
A variable-free server URL emitted as a string constant.
Fields§
§name: RustIdentSCREAMING_SNAKE_CASE constant name.
doc: Option<String>Doc comment derived from the server description.
url: StringThe literal server URL.
Trait Implementations§
Source§impl Clone for ServerUrlConst
impl Clone for ServerUrlConst
Source§fn clone(&self) -> ServerUrlConst
fn clone(&self) -> ServerUrlConst
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 ServerUrlConst
impl Debug for ServerUrlConst
Source§impl PartialEq for ServerUrlConst
impl PartialEq for ServerUrlConst
impl StructuralPartialEq for ServerUrlConst
Auto Trait Implementations§
impl Freeze for ServerUrlConst
impl RefUnwindSafe for ServerUrlConst
impl Send for ServerUrlConst
impl Sync for ServerUrlConst
impl Unpin for ServerUrlConst
impl UnsafeUnpin for ServerUrlConst
impl UnwindSafe for ServerUrlConst
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