pub struct IcingaUrl { /* private fields */ }Expand description
An http(s) URL.
Implementations§
Source§impl IcingaUrl
impl IcingaUrl
pub fn get(&self) -> &Url
pub fn take(self) -> Url
pub fn host_str(&self) -> &str
pub fn host(&self) -> Host<&str>
pub fn split_credentials(&self) -> (Option<Credentials>, Self)
pub fn set_username(&mut self, user: &str)
pub fn set_password(&mut self, password: Option<&str>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IcingaUrl
impl<'de> Deserialize<'de> for IcingaUrl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for IcingaUrl
Auto Trait Implementations§
impl Freeze for IcingaUrl
impl RefUnwindSafe for IcingaUrl
impl Send for IcingaUrl
impl Sync for IcingaUrl
impl Unpin for IcingaUrl
impl UnwindSafe for IcingaUrl
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