pub struct ReqDockerhubIdentity {
pub name: Option<String>,
pub description: Option<String>,
pub type: EnumIdentityType,
pub credentials: Option<Box<ReqDockerhubCred>>,
}Fields§
§name: Option<String>§description: Option<String>§type: EnumIdentityType§credentials: Option<Box<ReqDockerhubCred>>Implementations§
Source§impl ReqDockerhubIdentity
impl ReqDockerhubIdentity
pub fn new(type: EnumIdentityType) -> ReqDockerhubIdentity
Trait Implementations§
Source§impl Clone for ReqDockerhubIdentity
impl Clone for ReqDockerhubIdentity
Source§fn clone(&self) -> ReqDockerhubIdentity
fn clone(&self) -> ReqDockerhubIdentity
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 ReqDockerhubIdentity
impl Debug for ReqDockerhubIdentity
Source§impl Default for ReqDockerhubIdentity
impl Default for ReqDockerhubIdentity
Source§fn default() -> ReqDockerhubIdentity
fn default() -> ReqDockerhubIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReqDockerhubIdentity
impl<'de> Deserialize<'de> for ReqDockerhubIdentity
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 ReqDockerhubIdentity
impl PartialEq for ReqDockerhubIdentity
Source§impl Serialize for ReqDockerhubIdentity
impl Serialize for ReqDockerhubIdentity
impl StructuralPartialEq for ReqDockerhubIdentity
Auto Trait Implementations§
impl Freeze for ReqDockerhubIdentity
impl RefUnwindSafe for ReqDockerhubIdentity
impl Send for ReqDockerhubIdentity
impl Sync for ReqDockerhubIdentity
impl Unpin for ReqDockerhubIdentity
impl UnsafeUnpin for ReqDockerhubIdentity
impl UnwindSafe for ReqDockerhubIdentity
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