pub struct CreateUploadStatus200Headers {
pub location: Option<HeaderLocation>,
pub x_capsule_advice: HeaderXCapsuleAdvice,
pub x_capsule_session_expires_in: HeaderXCapsuleSessionExpiresIn,
pub x_capsule_session_idle_expires_in: HeaderXCapsuleSessionIdleExpiresIn,
pub x_capsule_offset: Option<HeaderXcapsuleOffset5486d44e>,
pub x_capsule_committed: Option<HeaderXCapsuleCommitted>,
pub x_capsule_upload_status: Option<HeaderXcapsuleUploadStatus367bbe8f>,
pub x_request_id: HeaderXrequestIdC90c9206,
pub x_capsule_protocol_min: HeaderXcapsuleProtocolMin55a57550,
pub x_capsule_protocol_max: HeaderXcapsuleProtocolMaxEeb88a5e,
pub x_capsule_min_client_build: HeaderXcapsuleMinClientBuildB6da194c,
}Expand description
Documented response headers for create_upload Status200.
Fields§
§location: Option<HeaderLocation>Where the session lives.
x_capsule_advice: HeaderXCapsuleAdviceThe server’s advice, an RFC 9651 dictionary of integers: chunk, sessions, ranges
and ttl. Advisory only; a client clamps every member into its own bounds.
x_capsule_session_expires_in: HeaderXCapsuleSessionExpiresInSeconds until the session’s lifetime cap.
x_capsule_session_idle_expires_in: HeaderXCapsuleSessionIdleExpiresInSeconds until the session’s survival floor, after which it may be discarded under
pressure. Never more than X-Capsule-Session-Expires-In.
x_capsule_offset: Option<HeaderXcapsuleOffset5486d44e>The committed prefix, on a resumed session.
x_capsule_committed: Option<HeaderXCapsuleCommitted>The full committed set, on a resumed session: comma-separated inclusive byte ranges, as
on HEAD.
x_capsule_upload_status: Option<HeaderXcapsuleUploadStatus367bbe8f>Where a resumed session is in its state machine — waiting_for_processing once a
duplicate create has started the finalization of a full session nobody had claimed.
x_request_id: HeaderXrequestIdC90c9206The UUIDv7 this server minted for the request. Quote it when reporting a failure: it names the request’s log lines. Never taken from the client.
x_capsule_protocol_min: HeaderXcapsuleProtocolMin55a57550The oldest protocol version this server accepts.
x_capsule_protocol_max: HeaderXcapsuleProtocolMaxEeb88a5eThe newest protocol version this server accepts.
x_capsule_min_client_build: HeaderXcapsuleMinClientBuildB6da194cThe semver client build below which this server will stop answering. Advisory: 0.0.0 when no cutoff has been announced.
Implementations§
Source§impl CreateUploadStatus200Headers
impl CreateUploadStatus200Headers
Sourcepub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
pub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
Read the documented headers out of a raw header map.
Sourcepub fn from_response<T>(
response: &ResponseValue<T>,
) -> Result<Self, HeaderError>
pub fn from_response<T>( response: &ResponseValue<T>, ) -> Result<Self, HeaderError>
Read the documented headers out of a returned response value.
Trait Implementations§
Source§impl Clone for CreateUploadStatus200Headers
impl Clone for CreateUploadStatus200Headers
Source§fn clone(&self) -> CreateUploadStatus200Headers
fn clone(&self) -> CreateUploadStatus200Headers
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CreateUploadStatus200Headers
impl RefUnwindSafe for CreateUploadStatus200Headers
impl Send for CreateUploadStatus200Headers
impl Sync for CreateUploadStatus200Headers
impl Unpin for CreateUploadStatus200Headers
impl UnsafeUnpin for CreateUploadStatus200Headers
impl UnwindSafe for CreateUploadStatus200Headers
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more