pub struct Projected<'a, T> {
pub core: T,
pub extensions: Extensions<'a>,
}Expand description
A manually projected message with a positional core and a sparse root block.
Fields§
§core: TPositional fields in their declared order.
extensions: Extensions<'a>Staged sparse fields at the root of the message.
Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a, T: Deserialize<'de>> Deserialize<'de> for Projected<'a, T>
impl<'de: 'a, 'a, T: Deserialize<'de>> Deserialize<'de> for Projected<'a, T>
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a, T> Forget for Projected<'a, T>
impl<'a, T> Freeze for Projected<'a, T>
impl<'a, T> Move for Projected<'a, T>
impl<'a, T> RefUnwindSafe for Projected<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Projected<'a, T>
impl<'a, T> Sync for Projected<'a, T>where
T: Sync,
impl<'a, T> Unpin for Projected<'a, T>
impl<'a, T> UnsafeUnpin for Projected<'a, T>
impl<'a, T> UnwindSafe for Projected<'a, 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