pub struct ScriptRepo {
pub time_hidden_count: u32,
/* private fields */
}Fields§
Implementations§
Source§impl ScriptRepo
impl ScriptRepo
pub async fn close(self)
pub fn iter(&self) -> impl Iterator<Item = &ScriptInfo>
pub fn iter_mut( &mut self, visibility: Visibility, ) -> impl Iterator<Item = RepoEntry<'_>>
pub fn historian(&self) -> &Historian
pub async fn new( recent: RecentFilter, db_env: DBEnv, selector: &TagSelectorGroup, ) -> Result<ScriptRepo>
pub fn no_trace(&mut self)
pub fn humble(&mut self)
pub fn latest_mut( &mut self, n: usize, visibility: Visibility, ) -> Option<RepoEntry<'_>>
pub fn get_mut( &mut self, name: &ScriptName, visibility: Visibility, ) -> Option<RepoEntry<'_>>
pub fn get_mut_by_id(&mut self, id: i64) -> Option<RepoEntry<'_>>
pub async fn remove(&mut self, id: i64) -> Result
pub fn entry(&mut self, name: &ScriptName) -> RepoEntryOptional<'_>
Trait Implementations§
Source§impl Debug for ScriptRepo
impl Debug for ScriptRepo
Source§impl StableRepo for ScriptRepo
impl StableRepo for ScriptRepo
fn iter_mut( &mut self, visibility: Visibility, ) -> impl Iterator<Item = RepoEntry<'_>>
fn latest_mut( &mut self, n: usize, visibility: Visibility, ) -> Option<RepoEntry<'_>>
fn get_mut( &mut self, name: &ScriptName, visibility: Visibility, ) -> Option<RepoEntry<'_>>
Auto Trait Implementations§
impl !RefUnwindSafe for ScriptRepo
impl !UnwindSafe for ScriptRepo
impl Freeze for ScriptRepo
impl Send for ScriptRepo
impl Sync for ScriptRepo
impl Unpin for ScriptRepo
impl UnsafeUnpin for ScriptRepo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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