pub struct InstalledRecord {
pub id: String,
pub name: String,
pub kind: SoundKind,
pub version: String,
pub license: String,
pub paths: Vec<PathBuf>,
pub tags: Vec<String>,
pub category: Option<String>,
pub source: String,
pub installed_at: u64,
pub sha256: Option<String>,
}Expand description
A record in installed.json.
Fields§
§id: String§name: String§kind: SoundKind§version: String§license: String§paths: Vec<PathBuf>Files and folders this install created (removed by sounds remove).
category: Option<String>§source: Stringregistry or user (sounds install --from).
installed_at: u64§sha256: Option<String>Trait Implementations§
Source§impl Clone for InstalledRecord
impl Clone for InstalledRecord
Source§impl Debug for InstalledRecord
impl Debug for InstalledRecord
Source§impl<'de> Deserialize<'de> for InstalledRecord
impl<'de> Deserialize<'de> for InstalledRecord
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 InstalledRecord
impl PartialEq for InstalledRecord
Source§impl Serialize for InstalledRecord
impl Serialize for InstalledRecord
impl StructuralPartialEq for InstalledRecord
Auto Trait Implementations§
impl Forget for InstalledRecord
impl Freeze for InstalledRecord
impl Move for InstalledRecord
impl RefUnwindSafe for InstalledRecord
impl Send for InstalledRecord
impl Sync for InstalledRecord
impl Unpin for InstalledRecord
impl UnsafeUnpin for InstalledRecord
impl UnwindSafe for InstalledRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more