pub struct VideoContentResponse {
pub content: Bytes,
pub content_type: Option<String>,
}Expand description
Response from GET /videos/{job_id}/content: raw video bytes + the
upstream Content-Type (typically application/octet-stream).
Fields§
§content: BytesRaw video bytes.
content_type: Option<String>Upstream Content-Type header, when present.
Trait Implementations§
Source§impl Clone for VideoContentResponse
impl Clone for VideoContentResponse
Source§fn clone(&self) -> VideoContentResponse
fn clone(&self) -> VideoContentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for VideoContentResponse
impl RefUnwindSafe for VideoContentResponse
impl Send for VideoContentResponse
impl Sync for VideoContentResponse
impl Unpin for VideoContentResponse
impl UnsafeUnpin for VideoContentResponse
impl UnwindSafe for VideoContentResponse
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