[][src]Struct dsf_rpc::service::CreateOptions

pub struct CreateOptions {
    pub application_id: u16,
    pub page_kind: Option<u16>,
    pub body: Option<Body>,
    pub addresses: Vec<Address>,
    pub metadata: Vec<(String, String)>,
    pub public: bool,
    pub register: bool,
}

Fields

application_id: u16

Application ID

page_kind: Option<u16>

Page Kind (defaults to Generic)

body: Option<Body>

Service Page Body (loaded from the specified file)

addresses: Vec<Address>

Service Addresses

metadata: Vec<(String, String)>

Service Metadata key:value pairs

public: bool

Indicate the service should be public (unencrypted)

register: bool

Indicate the service should be registered and replicated following creation

Implementations

impl CreateOptions[src]

pub fn and_register(self) -> Self[src]

Trait Implementations

impl Clone for CreateOptions[src]

impl Debug for CreateOptions[src]

impl Default for CreateOptions[src]

impl<'de> Deserialize<'de> for CreateOptions[src]

impl PartialEq<CreateOptions> for CreateOptions[src]

impl Serialize for CreateOptions[src]

impl StructOpt for CreateOptions[src]

impl StructOptInternal for CreateOptions[src]

impl StructuralPartialEq for CreateOptions[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> IntoSql for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,