Struct qapi_qmp::BlockdevOptionsCurlBase
source · [−]pub struct BlockdevOptionsCurlBase {
pub password_secret: Option<String>,
pub proxy_username: Option<String>,
pub readahead: Option<i32>,
pub username: Option<String>,
pub proxy_password_secret: Option<String>,
pub url: String,
pub timeout: Option<i32>,
}Fields
password_secret: Option<String>proxy_username: Option<String>readahead: Option<i32>username: Option<String>proxy_password_secret: Option<String>url: Stringtimeout: Option<i32>Trait Implementations
sourceimpl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlHttp
impl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlHttp
sourcefn as_ref(&self) -> &BlockdevOptionsCurlBase
fn as_ref(&self) -> &BlockdevOptionsCurlBase
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlHttps
impl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlHttps
sourcefn as_ref(&self) -> &BlockdevOptionsCurlBase
fn as_ref(&self) -> &BlockdevOptionsCurlBase
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlFtps
impl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlFtps
sourcefn as_ref(&self) -> &BlockdevOptionsCurlBase
fn as_ref(&self) -> &BlockdevOptionsCurlBase
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlFtp
impl AsRef<BlockdevOptionsCurlBase> for BlockdevOptionsCurlFtp
sourcefn as_ref(&self) -> &BlockdevOptionsCurlBase
fn as_ref(&self) -> &BlockdevOptionsCurlBase
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for BlockdevOptionsCurlBase
impl Clone for BlockdevOptionsCurlBase
sourcefn clone(&self) -> BlockdevOptionsCurlBase
fn clone(&self) -> BlockdevOptionsCurlBase
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BlockdevOptionsCurlBase
impl Debug for BlockdevOptionsCurlBase
sourceimpl<'de> Deserialize<'de> for BlockdevOptionsCurlBase
impl<'de> Deserialize<'de> for BlockdevOptionsCurlBase
sourcefn 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
sourceimpl Serialize for BlockdevOptionsCurlBase
impl Serialize for BlockdevOptionsCurlBase
Auto Trait Implementations
impl RefUnwindSafe for BlockdevOptionsCurlBase
impl Send for BlockdevOptionsCurlBase
impl Sync for BlockdevOptionsCurlBase
impl Unpin for BlockdevOptionsCurlBase
impl UnwindSafe for BlockdevOptionsCurlBase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more