pub struct ProviderProbesRepo<'a> { /* private fields */ }Implementations§
Source§impl ProviderProbesRepo<'_>
impl ProviderProbesRepo<'_>
pub fn upsert(&self, new: NewProviderProbe) -> Result<ProviderProbeRecord>
pub fn get( &self, provider: &str, model_id: &str, capability_key: &str, ) -> Result<Option<ProviderProbeRecord>>
pub fn list( &self, provider: Option<&str>, model_id: Option<&str>, ) -> Result<Vec<ProviderProbeRecord>>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ProviderProbesRepo<'a>
impl<'a> !Send for ProviderProbesRepo<'a>
impl<'a> !Sync for ProviderProbesRepo<'a>
impl<'a> !UnwindSafe for ProviderProbesRepo<'a>
impl<'a> Freeze for ProviderProbesRepo<'a>
impl<'a> Unpin for ProviderProbesRepo<'a>
impl<'a> UnsafeUnpin for ProviderProbesRepo<'a>
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