Struct smpp::smsc::smsc_config::SmscConfig[][src]

pub struct SmscConfig {
    pub bind_address: String,
    pub max_open_sockets: usize,
    pub system_id: String,
}
Expand description

Short Message Service Center (SMSC) in Rust

Fields

bind_address: String

Address to bind on

max_open_sockets: usize

Maximum number of sockets that can be open

system_id: String

system_id used as an identifier of the SMSC

Trait Implementations

Parse from std::env::args_os(), exit on error

Parse from std::env::args_os(), return Err on error.

Parse from iterator, exit on error

Parse from iterator, return Err on error.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more

@TODO @release @docs

@TODO @release @docs

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.