pub struct HubEntry {
pub id: String,
pub index_url: String,
pub git_url: Option<String>,
pub enabled: bool,
pub ttl_hours: u64,
}Fields§
§id: String§index_url: String§git_url: Option<String>§enabled: bool§ttl_hours: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for HubEntry
impl<'de> Deserialize<'de> for HubEntry
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
impl StructuralPartialEq for HubEntry
Auto Trait Implementations§
impl Freeze for HubEntry
impl RefUnwindSafe for HubEntry
impl Send for HubEntry
impl Sync for HubEntry
impl Unpin for HubEntry
impl UnsafeUnpin for HubEntry
impl UnwindSafe for HubEntry
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