pub struct Setting<T> {
pub value: T,
pub origin: Origin,
}Available on crate feature
s3 only.Expand description
A value of a setting, and the source that gives it.
Fields§
§value: TThe value.
origin: OriginThe source of the value.
Trait Implementations§
impl<T: Eq> Eq for Setting<T>
impl<T: PartialEq> StructuralPartialEq for Setting<T>
Auto Trait Implementations§
impl<T> Forget for Setting<T>
impl<T> Freeze for Setting<T>
impl<T> Move for Setting<T>
impl<T> RefUnwindSafe for Setting<T>where
T: RefUnwindSafe,
impl<T> Send for Setting<T>
impl<T> Sync for Setting<T>
impl<T> Unpin for Setting<T>
impl<T> UnsafeUnpin for Setting<T>where
T: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl<T> UnwindSafe for Setting<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.