pub struct V2ServerKeyRestrictions {
pub allowed_ips: Option<Vec<String>>,
}Expand description
The IP addresses of callers that are allowed to use the key.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowed_ips: Option<Vec<String>>A list of the caller IP addresses that are allowed to make API calls with this key.
Trait Implementations§
Source§impl Clone for V2ServerKeyRestrictions
impl Clone for V2ServerKeyRestrictions
Source§fn clone(&self) -> V2ServerKeyRestrictions
fn clone(&self) -> V2ServerKeyRestrictions
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 V2ServerKeyRestrictions
impl Debug for V2ServerKeyRestrictions
Source§impl Default for V2ServerKeyRestrictions
impl Default for V2ServerKeyRestrictions
Source§fn default() -> V2ServerKeyRestrictions
fn default() -> V2ServerKeyRestrictions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for V2ServerKeyRestrictions
impl<'de> Deserialize<'de> for V2ServerKeyRestrictions
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 Serialize for V2ServerKeyRestrictions
impl Serialize for V2ServerKeyRestrictions
impl Part for V2ServerKeyRestrictions
Auto Trait Implementations§
impl Freeze for V2ServerKeyRestrictions
impl RefUnwindSafe for V2ServerKeyRestrictions
impl Send for V2ServerKeyRestrictions
impl Sync for V2ServerKeyRestrictions
impl Unpin for V2ServerKeyRestrictions
impl UnwindSafe for V2ServerKeyRestrictions
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