pub struct NpmRegistrySource {
pub registry_base: String,
}Expand description
Queries npm’s bulk security-advisory endpoint. registry_base lets the query target a private
mirror; the public registry is https://registry.npmjs.org.
Fields§
§registry_base: StringImplementations§
Source§impl NpmRegistrySource
impl NpmRegistrySource
pub fn new(registry_base: impl Into<String>) -> NpmRegistrySource
Trait Implementations§
Source§impl AdvisorySource for NpmRegistrySource
impl AdvisorySource for NpmRegistrySource
Auto Trait Implementations§
impl Freeze for NpmRegistrySource
impl RefUnwindSafe for NpmRegistrySource
impl Send for NpmRegistrySource
impl Sync for NpmRegistrySource
impl Unpin for NpmRegistrySource
impl UnsafeUnpin for NpmRegistrySource
impl UnwindSafe for NpmRegistrySource
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