pub struct CreateUploadStatus201Headers {
pub location: Option<HeaderLocation5515bb3e>,
pub x_capsule_advice: HeaderXcapsuleAdvice26802df8,
pub x_capsule_session_expires_in: HeaderXcapsuleSessionExpiresIn9fecfdf9,
pub x_capsule_session_idle_expires_in: HeaderXcapsuleSessionIdleExpiresInEcfdf654,
pub x_capsule_offset: Option<HeaderXcapsuleOffsetE7c17355>,
pub x_capsule_committed: Option<HeaderXcapsuleCommittedA241081a>,
pub x_capsule_upload_status: Option<HeaderXcapsuleUploadStatus0ea1beba>,
pub x_request_id: HeaderXrequestIdBbf3501d,
pub x_capsule_protocol_min: HeaderXcapsuleProtocolMinA43a143f,
pub x_capsule_protocol_max: HeaderXcapsuleProtocolMax5d37ddb1,
pub x_capsule_min_client_build: HeaderXcapsuleMinClientBuildBd60b9ab,
}Expand description
Documented response headers for create_upload Status201.
Fields§
§location: Option<HeaderLocation5515bb3e>Where the session lives.
x_capsule_advice: HeaderXcapsuleAdvice26802df8The 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: HeaderXcapsuleSessionExpiresIn9fecfdf9Seconds until the session’s lifetime cap.
x_capsule_session_idle_expires_in: HeaderXcapsuleSessionIdleExpiresInEcfdf654Seconds 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<HeaderXcapsuleOffsetE7c17355>The committed prefix, on a resumed session.
x_capsule_committed: Option<HeaderXcapsuleCommittedA241081a>The full committed set, on a resumed session: comma-separated inclusive byte ranges, as
on HEAD.
x_capsule_upload_status: Option<HeaderXcapsuleUploadStatus0ea1beba>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: HeaderXrequestIdBbf3501dThe 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: HeaderXcapsuleProtocolMinA43a143fThe oldest protocol version this server accepts.
x_capsule_protocol_max: HeaderXcapsuleProtocolMax5d37ddb1The newest protocol version this server accepts.
x_capsule_min_client_build: HeaderXcapsuleMinClientBuildBd60b9abThe semver client build below which this server will stop answering. Advisory: 0.0.0 when no cutoff has been announced.
Implementations§
Source§impl CreateUploadStatus201Headers
impl CreateUploadStatus201Headers
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 CreateUploadStatus201Headers
impl Clone for CreateUploadStatus201Headers
Source§fn clone(&self) -> CreateUploadStatus201Headers
fn clone(&self) -> CreateUploadStatus201Headers
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 CreateUploadStatus201Headers
impl RefUnwindSafe for CreateUploadStatus201Headers
impl Send for CreateUploadStatus201Headers
impl Sync for CreateUploadStatus201Headers
impl Unpin for CreateUploadStatus201Headers
impl UnsafeUnpin for CreateUploadStatus201Headers
impl UnwindSafe for CreateUploadStatus201Headers
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