pub struct DefaultSource { /* private fields */ }
Expand description
If you want to load your sources from config you can use DefaultSource. If you not provide tls in your config default value would be false
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DefaultSource
impl<'de> Deserialize<'de> for DefaultSource
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 DefaultSource
impl RefUnwindSafe for DefaultSource
impl Send for DefaultSource
impl Sync for DefaultSource
impl Unpin for DefaultSource
impl UnwindSafe for DefaultSource
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