pub struct DropletsListFirewallsResponseLinks {
pub pages: Option<DropletsListFirewallsResponseLinksPages>,
}Expand description
DropletsListFirewallsResponseLinks
JSON schema
{
"type": "object",
"properties": {
"pages": {
"examples": [
{
"pages": {
"first": "https://api.digitalocean.com/v2/account/keys?page=1",
"prev": "https://api.digitalocean.com/v2/account/keys?page=2"
}
}
],
"anyOf": [
{
"type": "object",
"properties": {
"first": {
"examples": [
"https://api.digitalocean.com/v2/images?page=1"
],
"type": "string",
"format": "uri"
},
"last": {
"examples": [
"https://api.digitalocean.com/v2/images?page=3"
],
"type": "string",
"format": "uri"
},
"next": {
"examples": [
"https://api.digitalocean.com/v2/images?page=2"
],
"type": "string",
"format": "uri"
}
}
},
{
"type": "object",
"properties": {
"first": {
"examples": [
"https://api.digitalocean.com/v2/images?page=1"
],
"type": "string",
"format": "uri"
},
"last": {
"examples": [
"https://api.digitalocean.com/v2/images?page=3"
],
"type": "string",
"format": "uri"
},
"prev": {
"examples": [
"https://api.digitalocean.com/v2/images?page=1"
],
"type": "string",
"format": "uri"
}
}
},
{}
]
}
}
}Fields§
§pages: Option<DropletsListFirewallsResponseLinksPages>Trait Implementations§
Source§impl Clone for DropletsListFirewallsResponseLinks
impl Clone for DropletsListFirewallsResponseLinks
Source§fn clone(&self) -> DropletsListFirewallsResponseLinks
fn clone(&self) -> DropletsListFirewallsResponseLinks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DropletsListFirewallsResponseLinks
impl<'de> Deserialize<'de> for DropletsListFirewallsResponseLinks
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<&DropletsListFirewallsResponseLinks> for DropletsListFirewallsResponseLinks
impl From<&DropletsListFirewallsResponseLinks> for DropletsListFirewallsResponseLinks
Source§fn from(value: &DropletsListFirewallsResponseLinks) -> Self
fn from(value: &DropletsListFirewallsResponseLinks) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DropletsListFirewallsResponseLinks
impl RefUnwindSafe for DropletsListFirewallsResponseLinks
impl Send for DropletsListFirewallsResponseLinks
impl Sync for DropletsListFirewallsResponseLinks
impl Unpin for DropletsListFirewallsResponseLinks
impl UnsafeUnpin for DropletsListFirewallsResponseLinks
impl UnwindSafe for DropletsListFirewallsResponseLinks
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