pub struct PageBytes(/* private fields */);Expand description
A rustev.acquisition-page/1 document’s bytes exactly as the source sent
them. Only its being a JSON object is checked here: the runtime parses
and validates the page, so an invalid page reaches it unchanged and is
classified there (spec 036 3.13.4).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageBytes
impl<'de> Deserialize<'de> for PageBytes
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PageBytes
impl JsonSchema for PageBytes
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PageBytes
impl RefUnwindSafe for PageBytes
impl Send for PageBytes
impl Sync for PageBytes
impl Unpin for PageBytes
impl UnsafeUnpin for PageBytes
impl UnwindSafe for PageBytes
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