pub struct ServerIp {
pub type: Type,
pub ip: String,
pub ptr: String,
pub is_main: bool,
}Expand description
ServerIp : IP-адрес сервера
Fields§
§type: TypeТип IP-адреса сети.
ip: StringIP-адрес сети.
ptr: StringЗапись имени узла.
is_main: boolЯвляется ли сеть основной.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ServerIp
impl<'de> Deserialize<'de> for ServerIp
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
impl StructuralPartialEq for ServerIp
Auto Trait Implementations§
impl Freeze for ServerIp
impl RefUnwindSafe for ServerIp
impl Send for ServerIp
impl Sync for ServerIp
impl Unpin for ServerIp
impl UnsafeUnpin for ServerIp
impl UnwindSafe for ServerIp
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