pub struct RegistryResponse {
pub status: u16,
pub body: Vec<u8>,
}Expand description
Response from a registry POST operation.
Carries the HTTP status code and body so callers can dispatch on status-specific business logic (e.g., 201 Created vs. 409 Conflict).
Fields§
§status: u16HTTP status code.
body: Vec<u8>Response body bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegistryResponse
impl RefUnwindSafe for RegistryResponse
impl Send for RegistryResponse
impl Sync for RegistryResponse
impl Unpin for RegistryResponse
impl UnsafeUnpin for RegistryResponse
impl UnwindSafe for RegistryResponse
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