pub struct PartialRelease {
pub release_reference: Option<String>,
pub release_id: Vec<Identifier>,
pub release_title: Vec<LocalizedString>,
pub display_artist: Vec<Artist>,
pub genre: Vec<Genre>,
pub release_date: Vec<ReleaseEvent>,
pub release_resource_reference_list: Vec<ReleaseResourceReference>,
pub deal_reference_list: Vec<String>,
pub completed_fields: usize,
pub memory_estimate: usize,
}Expand description
Partial release being built during streaming
Fields§
§release_reference: Option<String>§release_id: Vec<Identifier>§release_title: Vec<LocalizedString>§display_artist: Vec<Artist>§genre: Vec<Genre>§release_date: Vec<ReleaseEvent>§release_resource_reference_list: Vec<ReleaseResourceReference>§deal_reference_list: Vec<String>§completed_fields: usize§memory_estimate: usizeImplementations§
Source§impl PartialRelease
impl PartialRelease
pub fn estimate_memory(&self) -> usize
pub fn is_complete(&self) -> bool
pub fn into_release(self) -> Release
Trait Implementations§
Source§impl Clone for PartialRelease
impl Clone for PartialRelease
Source§fn clone(&self) -> PartialRelease
fn clone(&self) -> PartialRelease
Returns a duplicate of the value. Read more
1.0.0 · 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 PartialRelease
impl Debug for PartialRelease
Source§impl Default for PartialRelease
impl Default for PartialRelease
Source§fn default() -> PartialRelease
fn default() -> PartialRelease
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PartialRelease
impl RefUnwindSafe for PartialRelease
impl Send for PartialRelease
impl Sync for PartialRelease
impl Unpin for PartialRelease
impl UnwindSafe for PartialRelease
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