[][src]Struct push::config::PushConfiguration

pub struct PushConfiguration {
    pub server_host: String,
    pub socket_protocol: Option<String>,
    pub http_protocol: Option<String>,
    pub bridge_type: Option<String>,
    pub registration_id: Option<String>,
    pub enabled: bool,
    pub ping_interval: u64,
    pub sender_id: String,
    pub database_path: Option<String>,
}

Fields

server_host: String

host name:port

socket_protocol: Option<String>

connection protocol (for direct connections "wss")

http_protocol: Option<String>

http protocol (for mobile, bridged connections "https")

bridge_type: Option<String>

bridge protocol ("fcm")

registration_id: Option<String>

Native OS registration ID value

enabled: bool

Service enabled flag

ping_interval: u64

How often to ping server (1800s)

sender_id: String

Sender/Application ID value

database_path: Option<String>

OS Path to the database

Trait Implementations

impl Clone for PushConfiguration[src]

impl Debug for PushConfiguration[src]

impl Default for PushConfiguration[src]

Auto Trait Implementations

impl RefUnwindSafe for PushConfiguration

impl Send for PushConfiguration

impl Sync for PushConfiguration

impl Unpin for PushConfiguration

impl UnwindSafe for PushConfiguration

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.