pub struct KnownProjects {
pub entries: Vec<KnownProjectEntry>,
}Fields§
§entries: Vec<KnownProjectEntry>Implementations§
Source§impl KnownProjects
impl KnownProjects
pub fn track_project_accessed( key: PersistenceKey, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send>>
Trait Implementations§
Source§impl Clone for KnownProjects
impl Clone for KnownProjects
Source§fn clone(&self) -> KnownProjects
fn clone(&self) -> KnownProjects
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 KnownProjects
impl Debug for KnownProjects
Source§impl Default for KnownProjects
impl Default for KnownProjects
Source§fn default() -> KnownProjects
fn default() -> KnownProjects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KnownProjects
impl<'de> Deserialize<'de> for KnownProjects
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 KnownProjects
impl PartialEq for KnownProjects
Source§impl PersistableState for KnownProjects
impl PersistableState for KnownProjects
fn key<'async_trait>() -> Pin<Box<dyn Future<Output = Result<PersistenceKey>> + Send + 'async_trait>>
Source§fn is_secret() -> bool
fn is_secret() -> bool
If a config is secret, it will not be included in the index used by the eye_config cli.
By default, configs are not secret.
Source§fn load<'async_trait>() -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
fn load<'async_trait>() -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
Asynchronously load the configuration with incremental upgrading.
Source§fn save<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Asynchronously save the configuration.
fn modify_and_save<'life0, 'async_trait, F>( &'life0 mut self, f: F, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
Source§impl Serialize for KnownProjects
impl Serialize for KnownProjects
impl StructuralPartialEq for KnownProjects
Auto Trait Implementations§
impl Freeze for KnownProjects
impl RefUnwindSafe for KnownProjects
impl Send for KnownProjects
impl Sync for KnownProjects
impl Unpin for KnownProjects
impl UnsafeUnpin for KnownProjects
impl UnwindSafe for KnownProjects
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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