pub struct PatchMediaBody {
pub uploaded_at: String,
pub upload_http_status: i32,
pub upload_http_error: Option<Option<String>>,
pub upload_time_ms: Option<Option<i32>>,
}Fields§
§uploaded_at: StringThe date and time when the media record was uploaded
upload_http_status: i32The HTTP status code of the upload
upload_http_error: Option<Option<String>>The HTTP error message of the upload
upload_time_ms: Option<Option<i32>>The time in milliseconds it took to upload the media record
Implementations§
Source§impl PatchMediaBody
impl PatchMediaBody
pub fn new(uploaded_at: String, upload_http_status: i32) -> PatchMediaBody
Trait Implementations§
Source§impl Clone for PatchMediaBody
impl Clone for PatchMediaBody
Source§fn clone(&self) -> PatchMediaBody
fn clone(&self) -> PatchMediaBody
Returns a duplicate of the value. Read more
1.0.0 · 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 PatchMediaBody
impl Debug for PatchMediaBody
Source§impl Default for PatchMediaBody
impl Default for PatchMediaBody
Source§fn default() -> PatchMediaBody
fn default() -> PatchMediaBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchMediaBody
impl<'de> Deserialize<'de> for PatchMediaBody
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
Source§impl PartialEq for PatchMediaBody
impl PartialEq for PatchMediaBody
Source§impl Serialize for PatchMediaBody
impl Serialize for PatchMediaBody
impl StructuralPartialEq for PatchMediaBody
Auto Trait Implementations§
impl Freeze for PatchMediaBody
impl RefUnwindSafe for PatchMediaBody
impl Send for PatchMediaBody
impl Sync for PatchMediaBody
impl Unpin for PatchMediaBody
impl UnwindSafe for PatchMediaBody
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