pub struct ShareRecordingRequest {
pub recording_source_id: String,
pub visibility: ShareVisibility,
pub invited_emails: Option<Vec<String>>,
pub password: Option<String>,
pub expires_at: Option<String>,
}Expand description
Body of POST /api/voice/recordings/{id}/share — create or update a
recording’s share. The recording must already be synced (metadata +
bytes) or the platform returns 404.
Fields§
§recording_source_id: StringThe artifact UUID, as synced (daemon-side artifacts.id). Goes in
the URL path; carried in the struct so callers pass one value.
visibility: ShareVisibility§invited_emails: Option<Vec<String>>Restricted tier — the WaveKat-account emails allowed to open the
share. Ignored (and omitted) for Private / Public.
password: Option<String>Phase 2 — out-of-band password gate. Omitted when unset.
expires_at: Option<String>Phase 2 — RFC 3339 auto-revoke time. Omitted when unset.
Trait Implementations§
Source§fn clone(&self) -> ShareRecordingRequest
fn clone(&self) -> ShareRecordingRequest
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 moreSource§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§
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