pub struct SetSubAccountSubAccountApiIpRestrictionResponse {
pub api_key: String,
pub ip_list: Vec<String>,
pub status: String,
pub update_time: i64,
}
Expand description
SetSubAccountSubAccountApiIpRestrictionResponse
JSON schema
{
"type": "object",
"required": [
"apiKey",
"ipList",
"status",
"updateTime"
],
"properties": {
"apiKey": {
"examples": [
"k5V49ldtn4tszj6W3hystegdfvmGbqDzjmkCtpTvC0G74WhK7yd4rfCTo4lShf"
],
"type": "string"
},
"ipList": {
"examples": [
[
"69.210.67.14",
"8.34.21.10",
"thirdPartyName"
]
],
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"examples": [
"2"
],
"type": "string"
},
"updateTime": {
"examples": [
1636369557189
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§api_key: String
§ip_list: Vec<String>
§status: String
§update_time: i64
Trait Implementations§
Source§impl Clone for SetSubAccountSubAccountApiIpRestrictionResponse
impl Clone for SetSubAccountSubAccountApiIpRestrictionResponse
Source§fn clone(&self) -> SetSubAccountSubAccountApiIpRestrictionResponse
fn clone(&self) -> SetSubAccountSubAccountApiIpRestrictionResponse
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<'de> Deserialize<'de> for SetSubAccountSubAccountApiIpRestrictionResponse
impl<'de> Deserialize<'de> for SetSubAccountSubAccountApiIpRestrictionResponse
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 From<&SetSubAccountSubAccountApiIpRestrictionResponse> for SetSubAccountSubAccountApiIpRestrictionResponse
impl From<&SetSubAccountSubAccountApiIpRestrictionResponse> for SetSubAccountSubAccountApiIpRestrictionResponse
Source§fn from(value: &SetSubAccountSubAccountApiIpRestrictionResponse) -> Self
fn from(value: &SetSubAccountSubAccountApiIpRestrictionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetSubAccountSubAccountApiIpRestrictionResponse
impl RefUnwindSafe for SetSubAccountSubAccountApiIpRestrictionResponse
impl Send for SetSubAccountSubAccountApiIpRestrictionResponse
impl Sync for SetSubAccountSubAccountApiIpRestrictionResponse
impl Unpin for SetSubAccountSubAccountApiIpRestrictionResponse
impl UnwindSafe for SetSubAccountSubAccountApiIpRestrictionResponse
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