#[repr(C)]pub struct BlockdevOptionsCurlHttp {Show 15 fields
pub url: *mut c_char,
pub has_readahead: bool,
pub readahead: i64,
pub has_timeout: bool,
pub timeout: i64,
pub has_username: bool,
pub username: *mut c_char,
pub has_password_secret: bool,
pub password_secret: *mut c_char,
pub has_proxy_username: bool,
pub proxy_username: *mut c_char,
pub has_proxy_password_secret: bool,
pub proxy_password_secret: *mut c_char,
pub has_cookie: bool,
pub cookie: *mut c_char,
}Fields§
§url: *mut c_char§has_readahead: bool§readahead: i64§has_timeout: bool§timeout: i64§has_username: bool§username: *mut c_char§has_password_secret: bool§password_secret: *mut c_char§has_proxy_username: bool§proxy_username: *mut c_char§has_proxy_password_secret: bool§proxy_password_secret: *mut c_charTrait Implementations§
Source§impl Clone for BlockdevOptionsCurlHttp
impl Clone for BlockdevOptionsCurlHttp
Source§fn clone(&self) -> BlockdevOptionsCurlHttp
fn clone(&self) -> BlockdevOptionsCurlHttp
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 BlockdevOptionsCurlHttp
impl Debug for BlockdevOptionsCurlHttp
impl Copy for BlockdevOptionsCurlHttp
Auto Trait Implementations§
impl Freeze for BlockdevOptionsCurlHttp
impl RefUnwindSafe for BlockdevOptionsCurlHttp
impl !Send for BlockdevOptionsCurlHttp
impl !Sync for BlockdevOptionsCurlHttp
impl Unpin for BlockdevOptionsCurlHttp
impl UnwindSafe for BlockdevOptionsCurlHttp
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