pub struct VoiceRecordingSyncItem {
pub source_id: String,
pub r2_key: String,
pub bytes_uploaded: bool,
}Expand description
One item in the platform’s response to
POST /api/voice/recordings/sync. Lets the daemon learn the R2
key the platform stamped (so a subsequent bytes PUT can target it)
without re-deriving it, and check whether bytes have already
landed on a prior cycle (so the daemon can mark the local row
synced without re-uploading the WAV).
Fields§
§source_id: String§r2_key: String§bytes_uploaded: boolTrait Implementations§
Source§impl Clone for VoiceRecordingSyncItem
impl Clone for VoiceRecordingSyncItem
Source§fn clone(&self) -> VoiceRecordingSyncItem
fn clone(&self) -> VoiceRecordingSyncItem
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§impl Debug for VoiceRecordingSyncItem
impl Debug for VoiceRecordingSyncItem
Source§impl<'de> Deserialize<'de> for VoiceRecordingSyncItem
impl<'de> Deserialize<'de> for VoiceRecordingSyncItem
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 VoiceRecordingSyncItem
impl RefUnwindSafe for VoiceRecordingSyncItem
impl Send for VoiceRecordingSyncItem
impl Sync for VoiceRecordingSyncItem
impl Unpin for VoiceRecordingSyncItem
impl UnsafeUnpin for VoiceRecordingSyncItem
impl UnwindSafe for VoiceRecordingSyncItem
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