Struct coc_rs::credentials::CredentialsBuilder
source · pub struct CredentialsBuilder {
pub credentials: Credentials,
}
Fields§
§credentials: Credentials
Implementations§
source§impl CredentialsBuilder
impl CredentialsBuilder
pub fn add_credential(self, email: String, password: String) -> Self
pub fn build(self) -> Credentials
Trait Implementations§
source§impl Debug for CredentialsBuilder
impl Debug for CredentialsBuilder
source§impl Default for CredentialsBuilder
impl Default for CredentialsBuilder
source§fn default() -> CredentialsBuilder
fn default() -> CredentialsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CredentialsBuilder
impl Send for CredentialsBuilder
impl Sync for CredentialsBuilder
impl Unpin for CredentialsBuilder
impl UnwindSafe for CredentialsBuilder
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