pub struct VpcService {
pub id: f64,
pub name: String,
pub public_ip: Option<String>,
pub local_ip: Option<String>,
pub type: Option<Type>,
}Fields§
§id: f64ID сервисв.
name: StringИмя сервиса.
public_ip: Option<String>Публичный IP-адрес сервиса
local_ip: Option<String>Приватный IP-адрес сервиса
type: Option<Type>Тип сервиса.
Implementations§
Source§impl VpcService
impl VpcService
pub fn new(id: f64, name: String) -> VpcService
Trait Implementations§
Source§impl Clone for VpcService
impl Clone for VpcService
Source§fn clone(&self) -> VpcService
fn clone(&self) -> VpcService
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 Debug for VpcService
impl Debug for VpcService
Source§impl Default for VpcService
impl Default for VpcService
Source§fn default() -> VpcService
fn default() -> VpcService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpcService
impl<'de> Deserialize<'de> for VpcService
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 VpcService
impl PartialEq for VpcService
Source§fn eq(&self, other: &VpcService) -> bool
fn eq(&self, other: &VpcService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VpcService
impl Serialize for VpcService
impl StructuralPartialEq for VpcService
Auto Trait Implementations§
impl Freeze for VpcService
impl RefUnwindSafe for VpcService
impl Send for VpcService
impl Sync for VpcService
impl Unpin for VpcService
impl UnsafeUnpin for VpcService
impl UnwindSafe for VpcService
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