pub struct DatabaseUrlParts {
pub scheme: DatabaseScheme,
pub host: Option<DatabaseHost>,
pub port: Option<DatabasePort>,
pub path: DatabasePath,
}Expand description
Lightweight parts extracted from a database URL.
Fields§
§scheme: DatabaseSchemeURL scheme.
host: Option<DatabaseHost>Optional host.
port: Option<DatabasePort>Optional port.
path: DatabasePathURL path.
Trait Implementations§
Source§impl Clone for DatabaseUrlParts
impl Clone for DatabaseUrlParts
Source§fn clone(&self) -> DatabaseUrlParts
fn clone(&self) -> DatabaseUrlParts
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 DatabaseUrlParts
impl Debug for DatabaseUrlParts
Source§impl PartialEq for DatabaseUrlParts
impl PartialEq for DatabaseUrlParts
Source§fn eq(&self, other: &DatabaseUrlParts) -> bool
fn eq(&self, other: &DatabaseUrlParts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DatabaseUrlParts
impl StructuralPartialEq for DatabaseUrlParts
Auto Trait Implementations§
impl Freeze for DatabaseUrlParts
impl RefUnwindSafe for DatabaseUrlParts
impl Send for DatabaseUrlParts
impl Sync for DatabaseUrlParts
impl Unpin for DatabaseUrlParts
impl UnsafeUnpin for DatabaseUrlParts
impl UnwindSafe for DatabaseUrlParts
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