pub struct CpixConfig {
pub path_or_url: String,
pub headers: Vec<(String, String)>,
pub private_key_pem: Option<String>,
pub request_file: Option<PathBuf>,
pub encrypt: bool,
pub decrypt: bool,
}Expand description
CPIX document / SPEKE exchange.
Fields§
§path_or_url: String§headers: Vec<(String, String)>§private_key_pem: Option<String>§request_file: Option<PathBuf>§encrypt: bool§decrypt: boolTrait Implementations§
Source§impl Clone for CpixConfig
impl Clone for CpixConfig
Source§fn clone(&self) -> CpixConfig
fn clone(&self) -> CpixConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CpixConfig
impl RefUnwindSafe for CpixConfig
impl Send for CpixConfig
impl Sync for CpixConfig
impl Unpin for CpixConfig
impl UnsafeUnpin for CpixConfig
impl UnwindSafe for CpixConfig
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