pub struct LibpodInvocation { /* private fields */ }Expand description
A deterministic, non-executable Libpod request description.
Implementations§
Source§impl LibpodInvocation
impl LibpodInvocation
Sourcepub const fn method(&self) -> RenderedHttpMethod
pub const fn method(&self) -> RenderedHttpMethod
Returns the request method.
Sourcepub fn path_and_query(&self) -> &str
pub fn path_and_query(&self) -> &str
Returns the fully versioned and percent-encoded path/query.
Sourcepub fn body(&self) -> &RenderedHttpBody
pub fn body(&self) -> &RenderedHttpBody
Returns the safe JSON, no body, or external sensitive-input requirement.
Trait Implementations§
Source§impl Clone for LibpodInvocation
impl Clone for LibpodInvocation
Source§fn clone(&self) -> LibpodInvocation
fn clone(&self) -> LibpodInvocation
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 LibpodInvocation
impl Debug for LibpodInvocation
Source§impl PartialEq for LibpodInvocation
impl PartialEq for LibpodInvocation
impl StructuralPartialEq for LibpodInvocation
Auto Trait Implementations§
impl Freeze for LibpodInvocation
impl RefUnwindSafe for LibpodInvocation
impl Send for LibpodInvocation
impl Sync for LibpodInvocation
impl Unpin for LibpodInvocation
impl UnsafeUnpin for LibpodInvocation
impl UnwindSafe for LibpodInvocation
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