pub struct PinFile {
pub version: u32,
pub server: String,
pub created: String,
pub updated: String,
pub tools: BTreeMap<String, String>,
}Expand description
On-disk pin file. Tools map is name -> hash.
Fields§
§version: u32§server: StringHuman-readable label of the upstream (command line or URL).
created: String§updated: String§tools: BTreeMap<String, String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinFile
impl<'de> Deserialize<'de> for PinFile
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 PinFile
impl RefUnwindSafe for PinFile
impl Send for PinFile
impl Sync for PinFile
impl Unpin for PinFile
impl UnsafeUnpin for PinFile
impl UnwindSafe for PinFile
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