pub struct PersistResolveOptions<'a, T> {
pub stored: &'a HashMap<String, StoredValue>,
pub key: &'a str,
pub deserialize_fallback: Option<DeserializeFallback<T>>,
pub fallback: FieldResolveOptions<'a, T>,
}Expand description
Inputs used to resolve a single persisted config field.
Fields§
§stored: &'a HashMap<String, StoredValue>§key: &'a str§deserialize_fallback: Option<DeserializeFallback<T>>§fallback: FieldResolveOptions<'a, T>Auto Trait Implementations§
impl<'a, T> Freeze for PersistResolveOptions<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for PersistResolveOptions<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PersistResolveOptions<'a, T>where
T: Send,
impl<'a, T> Sync for PersistResolveOptions<'a, T>where
T: Sync,
impl<'a, T> Unpin for PersistResolveOptions<'a, T>where
T: Unpin,
impl<'a, T> UnsafeUnpin for PersistResolveOptions<'a, T>where
T: UnsafeUnpin,
impl<'a, T> UnwindSafe for PersistResolveOptions<'a, T>where
T: UnwindSafe,
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