pub struct EnterpriseChunkResult {
pub songs: Vec<EnterpriseMatch>,
pub offset: String,
pub extras: HashMap<String, Value>,
}Expand description
One chunk from recognize_enterprise (enterprise responses come in chunks).
Fields§
§songs: Vec<EnterpriseMatch>Songs matched in this chunk.
offset: StringOffset of this chunk in the source (e.g., "00:00"). This is the
chunk’s position in the user’s file — the anchor for each song’s
file-relative seconds.
extras: HashMap<String, Value>Forward-compat.
Trait Implementations§
Source§impl Clone for EnterpriseChunkResult
impl Clone for EnterpriseChunkResult
Source§fn clone(&self) -> EnterpriseChunkResult
fn clone(&self) -> EnterpriseChunkResult
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 EnterpriseChunkResult
impl Debug for EnterpriseChunkResult
Source§impl Default for EnterpriseChunkResult
impl Default for EnterpriseChunkResult
Source§fn default() -> EnterpriseChunkResult
fn default() -> EnterpriseChunkResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnterpriseChunkResult
impl<'de> Deserialize<'de> for EnterpriseChunkResult
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
Source§impl PartialEq for EnterpriseChunkResult
impl PartialEq for EnterpriseChunkResult
Source§impl Serialize for EnterpriseChunkResult
impl Serialize for EnterpriseChunkResult
impl StructuralPartialEq for EnterpriseChunkResult
Auto Trait Implementations§
impl Freeze for EnterpriseChunkResult
impl RefUnwindSafe for EnterpriseChunkResult
impl Send for EnterpriseChunkResult
impl Sync for EnterpriseChunkResult
impl Unpin for EnterpriseChunkResult
impl UnsafeUnpin for EnterpriseChunkResult
impl UnwindSafe for EnterpriseChunkResult
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