pub struct UpdateInstanceRestrictionsRequest {
pub allowlist: Option<Option<bool>>,
pub blocklist: Option<Option<bool>>,
}
Fields§
§allowlist: Option<Option<bool>>
§blocklist: Option<Option<bool>>
Implementations§
Trait Implementations§
Source§impl Clone for UpdateInstanceRestrictionsRequest
impl Clone for UpdateInstanceRestrictionsRequest
Source§fn clone(&self) -> UpdateInstanceRestrictionsRequest
fn clone(&self) -> UpdateInstanceRestrictionsRequest
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 Default for UpdateInstanceRestrictionsRequest
impl Default for UpdateInstanceRestrictionsRequest
Source§fn default() -> UpdateInstanceRestrictionsRequest
fn default() -> UpdateInstanceRestrictionsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateInstanceRestrictionsRequest
impl<'de> Deserialize<'de> for UpdateInstanceRestrictionsRequest
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 PartialEq for UpdateInstanceRestrictionsRequest
impl PartialEq for UpdateInstanceRestrictionsRequest
Source§fn eq(&self, other: &UpdateInstanceRestrictionsRequest) -> bool
fn eq(&self, other: &UpdateInstanceRestrictionsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateInstanceRestrictionsRequest
Auto Trait Implementations§
impl Freeze for UpdateInstanceRestrictionsRequest
impl RefUnwindSafe for UpdateInstanceRestrictionsRequest
impl Send for UpdateInstanceRestrictionsRequest
impl Sync for UpdateInstanceRestrictionsRequest
impl Unpin for UpdateInstanceRestrictionsRequest
impl UnwindSafe for UpdateInstanceRestrictionsRequest
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