pub enum RenderedHttpBody {
Empty,
Json(Value),
ExternalSensitiveInput(SensitiveInputReference),
}Expand description
A Libpod request body that is either safe JSON, absent, or deferred sensitive bytes.
Variants§
Empty
No HTTP body is required.
Json(Value)
A deterministic typed JSON body.
ExternalSensitiveInput(SensitiveInputReference)
The caller must supply raw sensitive material; the reference is never serialized.
Trait Implementations§
Source§impl Clone for RenderedHttpBody
impl Clone for RenderedHttpBody
Source§fn clone(&self) -> RenderedHttpBody
fn clone(&self) -> RenderedHttpBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderedHttpBody
impl Debug for RenderedHttpBody
Source§impl PartialEq for RenderedHttpBody
impl PartialEq for RenderedHttpBody
impl StructuralPartialEq for RenderedHttpBody
Auto Trait Implementations§
impl Freeze for RenderedHttpBody
impl RefUnwindSafe for RenderedHttpBody
impl Send for RenderedHttpBody
impl Sync for RenderedHttpBody
impl Unpin for RenderedHttpBody
impl UnsafeUnpin for RenderedHttpBody
impl UnwindSafe for RenderedHttpBody
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