pub struct LinkInfo {
pub id: LinkId,
pub name: String,
pub repo: String,
pub local_dir: PathBuf,
pub mode: LinkMode,
pub poll_interval_secs: Option<u64>,
}Expand description
All persistent metadata about a single link.
Fields§
§id: LinkId§name: String§repo: String§local_dir: PathBuf§mode: LinkMode§poll_interval_secs: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkInfo
impl<'de> Deserialize<'de> for LinkInfo
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 LinkInfo
impl RefUnwindSafe for LinkInfo
impl Send for LinkInfo
impl Sync for LinkInfo
impl Unpin for LinkInfo
impl UnsafeUnpin for LinkInfo
impl UnwindSafe for LinkInfo
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