pub struct Issuer {
pub common_name: String,
pub org: String,
pub location: String,
pub state: String,
pub country: String,
}
Fields§
§common_name: String
§org: String
§location: String
§state: String
§country: String
Implementations§
Source§impl Issuer
impl Issuer
pub fn new() -> Issuer
pub fn set_country(&mut self, country: String)
pub fn set_org(&mut self, org: String)
pub fn set_location(&mut self, location: String)
pub fn set_state(&mut self, state: String)
pub fn set_common_name(&mut self, common_name: String)
pub fn to_hash_map(&mut self) -> HashMap<String, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Issuer
impl RefUnwindSafe for Issuer
impl Send for Issuer
impl Sync for Issuer
impl Unpin for Issuer
impl UnwindSafe for Issuer
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