pub struct ArtifactUploadTargetHeaders {
pub content_length: Option<String>,
pub content_type: Option<String>,
}Expand description
Headers to send with the PUT, exactly as given. Both are signed, so storage refuses a PUT with another type or another length.
Fields§
§content_length: Option<String>The size_bytes given at initiate
content_type: Option<String>Trait Implementations§
Source§impl Clone for ArtifactUploadTargetHeaders
impl Clone for ArtifactUploadTargetHeaders
Source§impl Debug for ArtifactUploadTargetHeaders
impl Debug for ArtifactUploadTargetHeaders
Source§impl<'de> Deserialize<'de> for ArtifactUploadTargetHeaders
impl<'de> Deserialize<'de> for ArtifactUploadTargetHeaders
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArtifactUploadTargetHeaders
impl RefUnwindSafe for ArtifactUploadTargetHeaders
impl Send for ArtifactUploadTargetHeaders
impl Sync for ArtifactUploadTargetHeaders
impl Unpin for ArtifactUploadTargetHeaders
impl UnsafeUnpin for ArtifactUploadTargetHeaders
impl UnwindSafe for ArtifactUploadTargetHeaders
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