pub struct NetworkSecurity {
pub policies: u8,
}Fields§
§policies: u8Trait Implementations§
Source§impl Clone for NetworkSecurity
impl Clone for NetworkSecurity
Source§fn clone(&self) -> NetworkSecurity
fn clone(&self) -> NetworkSecurity
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 NetworkSecurity
impl Debug for NetworkSecurity
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for NetworkSecurity
impl<'bytes, Ctx> Decode<'bytes, Ctx> for NetworkSecurity
Source§impl Default for NetworkSecurity
impl Default for NetworkSecurity
Source§fn default() -> NetworkSecurity
fn default() -> NetworkSecurity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkSecurity
impl<'de> Deserialize<'de> for NetworkSecurity
Source§fn 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
Source§impl<Ctx> Encode<Ctx> for NetworkSecurity
impl<Ctx> Encode<Ctx> for NetworkSecurity
Auto Trait Implementations§
impl Freeze for NetworkSecurity
impl RefUnwindSafe for NetworkSecurity
impl Send for NetworkSecurity
impl Sync for NetworkSecurity
impl Unpin for NetworkSecurity
impl UnwindSafe for NetworkSecurity
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