Skip to main content
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: String

Sets the TTL of the video.

window: String

Specified 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: String

If true, does not return an error if the video already exists. Ignored if replace_if_exists is true. Server default: false.

replace_if_exists: String

If true, deletes any existing video with the same path before creating a new video. Server default: false.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more