pub struct TasteRecordOutput {
pub uri: String,
pub verdict: TasteVerdict,
pub notes: Option<String>,
pub tasted_at_epoch_ms: u64,
pub shared: Option<bool>,
pub synapse: Option<String>,
pub share_error: Option<String>,
}Expand description
Result of taste --verdict <verdict> (record mode).
Fields§
§uri: String§verdict: TasteVerdict§notes: Option<String>§tasted_at_epoch_ms: u64§synapse: Option<String>Trait Implementations§
Source§impl Clone for TasteRecordOutput
impl Clone for TasteRecordOutput
Source§fn clone(&self) -> TasteRecordOutput
fn clone(&self) -> TasteRecordOutput
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 TasteRecordOutput
impl Debug for TasteRecordOutput
Source§impl<'de> Deserialize<'de> for TasteRecordOutput
impl<'de> Deserialize<'de> for TasteRecordOutput
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 TasteRecordOutput
impl RefUnwindSafe for TasteRecordOutput
impl Send for TasteRecordOutput
impl Sync for TasteRecordOutput
impl Unpin for TasteRecordOutput
impl UnsafeUnpin for TasteRecordOutput
impl UnwindSafe for TasteRecordOutput
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