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