pub struct ScreenRecordingUploadOptions {
pub remote_path: Option<String>,
pub credentials: Option<ScreenRecordingCredentials>,
pub method: Option<Method>,
pub file_field_name: Option<String>,
pub headers: Option<HashMap<String, String>>,
pub form_fields: Option<HashMap<String, Value>>,
}
Fields§
§remote_path: Option<String>
Path to the remote location, where the resulting video should be uploaded.
credentials: Option<ScreenRecordingCredentials>
Credentials for remote ftp/http authentication (if needed).
method: Option<Method>
Method name for http(s) upload. PUT is used by default. This option only has an effect if remotePath is provided.
file_field_name: Option<String>
Form field name containing the binary payload in multipart/form-data requests.
headers: Option<HashMap<String, String>>
Additional headers in multipart/form-data requests.
form_fields: Option<HashMap<String, Value>>
Additional form fields in multipart/form-data requests.
Implementations§
Trait Implementations§
source§impl Clone for ScreenRecordingUploadOptions
impl Clone for ScreenRecordingUploadOptions
source§fn clone(&self) -> ScreenRecordingUploadOptions
fn clone(&self) -> ScreenRecordingUploadOptions
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ScreenRecordingUploadOptions
impl Send for ScreenRecordingUploadOptions
impl Sync for ScreenRecordingUploadOptions
impl Unpin for ScreenRecordingUploadOptions
impl UnwindSafe for ScreenRecordingUploadOptions
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