[][src]Struct new_home_application::application::application::ApplicationConfig

pub struct ApplicationConfig {
    pub app_info: ApplicationInfo,
    pub ip: String,
    pub port: i16,
}

Contains configuration and information about the app Contains the ip and port on which the method server should run

Fields

app_info: ApplicationInfo

The ApplicationInfo struct which contains all kinds of useful information about the application

ip: String

Contains the IP as a string on which the application should run

port: i16

Contains the Port as an i16 on which the server should listen for new TCP connections

Methods

impl ApplicationConfig[src]

pub fn new(app_info: ApplicationInfo, ip: String, port: i16) -> Self[src]

Trait Implementations

impl Clone for ApplicationConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.