pub struct JanuaryConfiguration {
pub enabled: bool,
pub url: String,
}Expand description
Proxy server configuration
Fields§
§enabled: boolWhether the service is enabled
url: StringURL pointing to this service
Trait Implementations§
Source§impl Clone for JanuaryConfiguration
impl Clone for JanuaryConfiguration
Source§fn clone(&self) -> JanuaryConfiguration
fn clone(&self) -> JanuaryConfiguration
Returns a duplicate of the value. Read more
1.0.0 · 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 JanuaryConfiguration
impl Debug for JanuaryConfiguration
Source§impl<'de> Deserialize<'de> for JanuaryConfiguration
impl<'de> Deserialize<'de> for JanuaryConfiguration
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
Auto Trait Implementations§
impl Freeze for JanuaryConfiguration
impl RefUnwindSafe for JanuaryConfiguration
impl Send for JanuaryConfiguration
impl Sync for JanuaryConfiguration
impl Unpin for JanuaryConfiguration
impl UnwindSafe for JanuaryConfiguration
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