pub struct FloatingIp { /* private fields */ }
Expand description
Floating IP objects represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets. They can be used to create highly available setups or other configurations requiring movable addresses.
Floating IPs are bound to a specific region.
Implementations§
Source§impl FloatingIp
impl FloatingIp
Source§impl FloatingIp
impl FloatingIp
Sourcepub fn list() -> FloatingIpRequest<List, Vec<FloatingIp>>
pub fn list() -> FloatingIpRequest<List, Vec<FloatingIp>>
Sourcepub fn for_droplet(id: usize) -> FloatingIpRequest<Create, FloatingIp>
pub fn for_droplet(id: usize) -> FloatingIpRequest<Create, FloatingIp>
Sourcepub fn for_region<S>(id: S) -> FloatingIpRequest<Create, FloatingIp>
pub fn for_region<S>(id: S) -> FloatingIpRequest<Create, FloatingIp>
Sourcepub fn get<I: Into<IpAddr>>(id: I) -> FloatingIpRequest<Get, FloatingIp>
pub fn get<I: Into<IpAddr>>(id: I) -> FloatingIpRequest<Get, FloatingIp>
Trait Implementations§
Source§impl Clone for FloatingIp
impl Clone for FloatingIp
Source§fn clone(&self) -> FloatingIp
fn clone(&self) -> FloatingIp
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 FloatingIp
impl Debug for FloatingIp
Source§impl<'de> Deserialize<'de> for FloatingIp
impl<'de> Deserialize<'de> for FloatingIp
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 HasResponse for FloatingIp
impl HasResponse for FloatingIp
Auto Trait Implementations§
impl Freeze for FloatingIp
impl RefUnwindSafe for FloatingIp
impl Send for FloatingIp
impl Sync for FloatingIp
impl Unpin for FloatingIp
impl UnwindSafe for FloatingIp
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