pub struct ServiceTypeInfo { /* private fields */ }Implementations§
Source§impl ServiceTypeInfo
impl ServiceTypeInfo
pub fn id(&self) -> &str
pub fn display_name(&self) -> Option<&str>
pub fn properties(&self) -> Result<Vec<PropertyMetadata>, ObsError>
pub fn settings_schema(&self) -> Result<SettingsSchema, ObsError>
pub fn settings_schema_for( &self, settings: &ObsData, ) -> Result<SettingsSchema, ObsError>
pub fn settings_snapshot_for( &self, settings: &ObsData, ) -> Result<SettingsSnapshot, ObsError>
pub fn default_settings(&self) -> Result<Option<ImmutableObsData>, ObsError>
Sourcepub fn default_settings_mut(&self) -> Result<ObsData, ObsError>
pub fn default_settings_mut(&self) -> Result<ObsData, ObsError>
Returns a mutable settings object initialized from this service type’s defaults.
Trait Implementations§
Source§impl Clone for ServiceTypeInfo
impl Clone for ServiceTypeInfo
Source§fn clone(&self) -> ServiceTypeInfo
fn clone(&self) -> ServiceTypeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceTypeInfo
impl RefUnwindSafe for ServiceTypeInfo
impl Send for ServiceTypeInfo
impl Sync for ServiceTypeInfo
impl Unpin for ServiceTypeInfo
impl UnsafeUnpin for ServiceTypeInfo
impl UnwindSafe for ServiceTypeInfo
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