Struct xiu::config::RtmpConfig
source · pub struct RtmpConfig {
pub enabled: bool,
pub port: usize,
pub gop_num: Option<usize>,
pub pull: Option<RtmpPullConfig>,
pub push: Option<Vec<RtmpPushConfig>>,
pub auth: Option<AuthConfig>,
}
Fields§
§enabled: bool
§port: usize
§gop_num: Option<usize>
§pull: Option<RtmpPullConfig>
§push: Option<Vec<RtmpPushConfig>>
§auth: Option<AuthConfig>
Trait Implementations§
source§impl Clone for RtmpConfig
impl Clone for RtmpConfig
source§fn clone(&self) -> RtmpConfig
fn clone(&self) -> RtmpConfig
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 moresource§impl Debug for RtmpConfig
impl Debug for RtmpConfig
source§impl<'de> Deserialize<'de> for RtmpConfig
impl<'de> Deserialize<'de> for RtmpConfig
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
Auto Trait Implementations§
impl Freeze for RtmpConfig
impl RefUnwindSafe for RtmpConfig
impl Send for RtmpConfig
impl Sync for RtmpConfig
impl Unpin for RtmpConfig
impl UnwindSafe for RtmpConfig
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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