#[non_exhaustive]pub struct SealedPart {
pub format: String,
pub item: Value,
}Expand description
A model-issued wire item carried as content the kernel cannot read.
Only a renderer of the matching format writes it back; every other
renderer skips it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: StringWire format of item; interpreted only by the matching renderer.
item: ValueThe item exactly as the provider returned it.
Implementations§
Trait Implementations§
Source§impl Clone for SealedPart
impl Clone for SealedPart
Source§impl Debug for SealedPart
impl Debug for SealedPart
Source§impl<'de> Deserialize<'de> for SealedPart
impl<'de> Deserialize<'de> for SealedPart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SealedPart
Source§impl PartialEq for SealedPart
impl PartialEq for SealedPart
Source§impl Serialize for SealedPart
impl Serialize for SealedPart
impl StructuralPartialEq for SealedPart
Auto Trait Implementations§
impl Forget for SealedPart
impl Freeze for SealedPart
impl Move for SealedPart
impl RefUnwindSafe for SealedPart
impl Send for SealedPart
impl Sync for SealedPart
impl Unpin for SealedPart
impl UnsafeUnpin for SealedPart
impl UnwindSafe for SealedPart
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