pub struct Hello {
pub api: u32,
pub host: HostInfo,
pub config: Value,
pub systems: Vec<SystemInfo>,
pub capture_dir: PathBuf,
pub data_dir: PathBuf,
pub audio_formats: Vec<String>,
}Fields§
§api: u32The recorder’s protocol version.
host: HostInfo§config: ValueThe plugin’s settings, as the user entered them (see Manifest::config).
systems: Vec<SystemInfo>Every system calls can come from, including conventional channels.
capture_dir: PathBufWhere calls are stored.
data_dir: PathBufA folder of the plugin’s own that survives restarts and upgrades (queues, state).
audio_formats: Vec<String>The audio formats call.concluded will carry this run: always “wav”,
plus those the plugin asked for that the recorder can encode.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hello
impl<'de> Deserialize<'de> for Hello
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 Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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