pub struct HlsEncryption {
pub constant_initialization_vector: Option<String>,
pub encryption_method: Option<String>,
pub key_rotation_interval_seconds: Option<i64>,
pub repeat_ext_x_key: Option<bool>,
pub speke_key_provider: SpekeKeyProvider,
}Expand description
An HTTP Live Streaming (HLS) encryption configuration.
Fields§
§constant_initialization_vector: Option<String>A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
encryption_method: Option<String>The encryption method to use.
key_rotation_interval_seconds: Option<i64>Interval (in seconds) between each encryption key rotation.
repeat_ext_x_key: Option<bool>When enabled, the EXT-X-KEY tag will be repeated in output manifests.
speke_key_provider: SpekeKeyProviderTrait Implementations§
Source§impl Clone for HlsEncryption
impl Clone for HlsEncryption
Source§fn clone(&self) -> HlsEncryption
fn clone(&self) -> HlsEncryption
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 Debug for HlsEncryption
impl Debug for HlsEncryption
Source§impl Default for HlsEncryption
impl Default for HlsEncryption
Source§fn default() -> HlsEncryption
fn default() -> HlsEncryption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HlsEncryption
impl<'de> Deserialize<'de> for HlsEncryption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HlsEncryption
impl PartialEq for HlsEncryption
Source§impl Serialize for HlsEncryption
impl Serialize for HlsEncryption
impl StructuralPartialEq for HlsEncryption
Auto Trait Implementations§
impl Freeze for HlsEncryption
impl RefUnwindSafe for HlsEncryption
impl Send for HlsEncryption
impl Sync for HlsEncryption
impl Unpin for HlsEncryption
impl UnwindSafe for HlsEncryption
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