pub struct NpmRepository {
pub custom_repository: Option<GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository>,
pub public_repository: Option<String>,
}Expand description
Configuration for a Npm remote repository.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_repository: Option<GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository>Customer-specified remote repository.
public_repository: Option<String>One of the publicly available Npm repositories supported by Artifact Registry.
Trait Implementations§
Source§impl Clone for NpmRepository
impl Clone for NpmRepository
Source§fn clone(&self) -> NpmRepository
fn clone(&self) -> NpmRepository
Returns a duplicate of the value. Read more
1.0.0 · 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 NpmRepository
impl Debug for NpmRepository
Source§impl Default for NpmRepository
impl Default for NpmRepository
Source§fn default() -> NpmRepository
fn default() -> NpmRepository
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NpmRepository
impl<'de> Deserialize<'de> for NpmRepository
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 Serialize for NpmRepository
impl Serialize for NpmRepository
impl Part for NpmRepository
Auto Trait Implementations§
impl Freeze for NpmRepository
impl RefUnwindSafe for NpmRepository
impl Send for NpmRepository
impl Sync for NpmRepository
impl Unpin for NpmRepository
impl UnwindSafe for NpmRepository
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