pub struct RegistrySnapshot { /* private fields */ }Implementations§
Source§impl RegistrySnapshot
impl RegistrySnapshot
pub fn fingerprint(&self) -> &RegistryFingerprint
pub fn provider_count(&self) -> usize
pub fn catalogs(&self) -> &[ProviderCatalog] ⓘ
pub fn tool(&self, action: &str) -> Option<&RegisteredTool>
pub fn action_names(&self) -> impl Iterator<Item = &str>
pub fn route_action(&self, method: &str, path: &str) -> Option<&str>
pub fn cli_action(&self, command: &str) -> Option<&str>
pub fn primitive_kind(&self, name: &str) -> Option<&str>
pub fn rest_routes(&self) -> impl Iterator<Item = (&str, &str, &str)>
pub fn compiled_validator_count(&self) -> usize
Trait Implementations§
Source§impl Clone for RegistrySnapshot
impl Clone for RegistrySnapshot
Source§fn clone(&self) -> RegistrySnapshot
fn clone(&self) -> RegistrySnapshot
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 moreAuto Trait Implementations§
impl Freeze for RegistrySnapshot
impl !RefUnwindSafe for RegistrySnapshot
impl Send for RegistrySnapshot
impl Sync for RegistrySnapshot
impl Unpin for RegistrySnapshot
impl UnsafeUnpin for RegistrySnapshot
impl !UnwindSafe for RegistrySnapshot
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