pub struct RegistryRequest {
pub url: String,
pub credential: CredentialType,
pub description: Option<String>,
}
Fields§
§url: String
URL of the registry
credential: CredentialType
§description: Option<String>
Description of the registry
Implementations§
Source§impl RegistryRequest
impl RegistryRequest
pub fn new(url: String, credential: CredentialType) -> RegistryRequest
Trait Implementations§
Source§impl Clone for RegistryRequest
impl Clone for RegistryRequest
Source§fn clone(&self) -> RegistryRequest
fn clone(&self) -> RegistryRequest
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 RegistryRequest
impl Debug for RegistryRequest
Source§impl<'de> Deserialize<'de> for RegistryRequest
impl<'de> Deserialize<'de> for RegistryRequest
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 PartialEq for RegistryRequest
impl PartialEq for RegistryRequest
Source§impl Serialize for RegistryRequest
impl Serialize for RegistryRequest
impl StructuralPartialEq for RegistryRequest
Auto Trait Implementations§
impl Freeze for RegistryRequest
impl RefUnwindSafe for RegistryRequest
impl Send for RegistryRequest
impl Sync for RegistryRequest
impl Unpin for RegistryRequest
impl UnwindSafe for RegistryRequest
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