pub struct CellSeeded<S> {
pub seed: S,
}Expand description
Struct to deserialize [Storage] with provided seed for keys and values
In case seed is only required for keys or values use [PhantomData] in place where seed is not required.
Fields§
§seed: STrait Implementations§
Source§impl<'de, S> DeserializeSeed<'de> for CellSeeded<S>
impl<'de, S> DeserializeSeed<'de> for CellSeeded<S>
Source§fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
Equivalent to the more common
Deserialize::deserialize method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl<S> Freeze for CellSeeded<S>where
S: Freeze,
impl<S> RefUnwindSafe for CellSeeded<S>where
S: RefUnwindSafe,
impl<S> Send for CellSeeded<S>where
S: Send,
impl<S> Sync for CellSeeded<S>where
S: Sync,
impl<S> Unpin for CellSeeded<S>where
S: Unpin,
impl<S> UnwindSafe for CellSeeded<S>where
S: 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