pub struct CmafPackageCreateOrUpdateParameters {
pub encryption: Option<CmafEncryption>,
pub hls_manifests: Option<Vec<HlsManifestCreateOrUpdateParameters>>,
pub segment_duration_seconds: Option<i64>,
pub segment_prefix: Option<String>,
pub stream_selection: Option<StreamSelection>,
}Expand description
A Common Media Application Format (CMAF) packaging configuration.
Fields§
§encryption: Option<CmafEncryption>§hls_manifests: Option<Vec<HlsManifestCreateOrUpdateParameters>>A list of HLS manifest configurations
segment_duration_seconds: Option<i64>Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
segment_prefix: Option<String>An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
stream_selection: Option<StreamSelection>Trait Implementations§
Source§impl Clone for CmafPackageCreateOrUpdateParameters
impl Clone for CmafPackageCreateOrUpdateParameters
Source§fn clone(&self) -> CmafPackageCreateOrUpdateParameters
fn clone(&self) -> CmafPackageCreateOrUpdateParameters
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 Default for CmafPackageCreateOrUpdateParameters
impl Default for CmafPackageCreateOrUpdateParameters
Source§fn default() -> CmafPackageCreateOrUpdateParameters
fn default() -> CmafPackageCreateOrUpdateParameters
Returns the “default value” for a type. Read more
Source§impl PartialEq for CmafPackageCreateOrUpdateParameters
impl PartialEq for CmafPackageCreateOrUpdateParameters
Source§fn eq(&self, other: &CmafPackageCreateOrUpdateParameters) -> bool
fn eq(&self, other: &CmafPackageCreateOrUpdateParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CmafPackageCreateOrUpdateParameters
Auto Trait Implementations§
impl Freeze for CmafPackageCreateOrUpdateParameters
impl RefUnwindSafe for CmafPackageCreateOrUpdateParameters
impl Send for CmafPackageCreateOrUpdateParameters
impl Sync for CmafPackageCreateOrUpdateParameters
impl Unpin for CmafPackageCreateOrUpdateParameters
impl UnwindSafe for CmafPackageCreateOrUpdateParameters
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