pub struct MediaProfile2 {
pub token: String,
pub name: String,
pub fixed: bool,
pub video_source_config_token: Option<String>,
pub video_source_token: Option<String>,
pub video_encoder_token: Option<String>,
pub audio_source_token: Option<String>,
pub audio_encoder_token: Option<String>,
pub ptz_config_token: Option<String>,
}Expand description
A Media2 profile returned by GetProfiles (Media2).
Compared with MediaProfile, this carries optional references to the
configurations currently bound to the profile.
Fields§
§token: String§name: String§fixed: bool§video_source_config_token: Option<String>Token of the bound VideoSourceConfiguration, if any.
video_source_token: Option<String>Token of the underlying VideoSource (the <SourceToken> inside
VideoSourceConfiguration). Pass this to the Imaging service.
video_encoder_token: Option<String>Token of the bound VideoEncoderConfiguration2, if any.
audio_source_token: Option<String>Token of the bound AudioSourceConfiguration, if any.
audio_encoder_token: Option<String>Token of the bound AudioEncoderConfiguration, if any.
ptz_config_token: Option<String>Token of the bound PTZConfiguration, if any.
Trait Implementations§
Source§impl Clone for MediaProfile2
impl Clone for MediaProfile2
Source§fn clone(&self) -> MediaProfile2
fn clone(&self) -> MediaProfile2
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 moreAuto Trait Implementations§
impl Freeze for MediaProfile2
impl RefUnwindSafe for MediaProfile2
impl Send for MediaProfile2
impl Sync for MediaProfile2
impl Unpin for MediaProfile2
impl UnsafeUnpin for MediaProfile2
impl UnwindSafe for MediaProfile2
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