pub struct CreateVideoRequestOptions
pub ttl: String,
pub window: String,
pub no_error_if_exists: String,
pub replace_if_exists: String,
Optional parameters for the /create/video endpoint.
Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.
Fields
ttl: StringSets the TTL of the video.
window: StringSpecified using the data-type corresponding to the attribute. For a window of size W, a video frame rendered for time t will visualize data in the interval [t-W,t]. The minimum window size is the interval between successive frames. The minimum value is the default. If a value less than the minimum value is specified, it is replaced with the minimum window size. Larger values will make changes throughout the video appear more smooth while smaller values will capture fast variations in the data.
no_error_if_exists: StringIf true, does not return an error if the video already exists. Ignored if replace_if_exists is true. Server default: false.
replace_if_exists: StringIf true, deletes any existing video with the same path before creating a new video. Server default: false.
Implementations
Trait Implementations
impl Clone for CreateVideoRequestOptions
fn clone(&self) -> CreateVideoRequestOptions
fn clone_from(&mut self, source: &Self)
source. Read more