pub struct WithBoundary<'a, Marker>(pub &'a PathBoundary<Marker>);Expand description
Deserialize a StrictPath with PathBoundary context.
Tuple Fields§
§0: &'a PathBoundary<Marker>Trait Implementations§
Source§impl<'a, 'de, Marker> DeserializeSeed<'de> for WithBoundary<'a, Marker>
impl<'a, 'de, Marker> DeserializeSeed<'de> for WithBoundary<'a, Marker>
Source§type Value = StrictPath<Marker>
type Value = StrictPath<Marker>
The type produced by using this seed.
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<'a, Marker> Freeze for WithBoundary<'a, Marker>
impl<'a, Marker> RefUnwindSafe for WithBoundary<'a, Marker>where
Marker: RefUnwindSafe,
impl<'a, Marker> Send for WithBoundary<'a, Marker>where
Marker: Sync,
impl<'a, Marker> Sync for WithBoundary<'a, Marker>where
Marker: Sync,
impl<'a, Marker> Unpin for WithBoundary<'a, Marker>
impl<'a, Marker> UnwindSafe for WithBoundary<'a, Marker>where
Marker: RefUnwindSafe,
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