[−][src]Struct dsf_core::service::publisher::SecondaryOptionsBuilder
Builder for SecondaryOptions
.
Methods
impl SecondaryOptionsBuilder
[src]
pub fn id(&mut self, value: Id) -> &mut Self
[src]
ID of primary service
pub fn application_id(&mut self, value: u16) -> &mut Self
[src]
Application ID of primary service
pub fn page_kind(&mut self, value: Kind) -> &mut Self
[src]
Page object kind
pub fn version(&mut self, value: u16) -> &mut Self
[src]
Page version This is monotonically increased for any successive publishing of the same page
pub fn body(&mut self, value: Body) -> &mut Self
[src]
Page body
pub fn expiry(&mut self, value: Option<SystemTime>) -> &mut Self
[src]
Page expiry time
pub fn public_options(&mut self, value: Vec<Options>) -> &mut Self
[src]
Public options attached to the page
pub fn private_options(&mut self, value: PrivateOptions) -> &mut Self
[src]
Private options attached to the page
pub fn build(&self) -> Result<SecondaryOptions, String>
[src]
Trait Implementations
impl Clone for SecondaryOptionsBuilder
[src]
fn clone(&self) -> SecondaryOptionsBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for SecondaryOptionsBuilder
[src]
fn default() -> SecondaryOptionsBuilder
[src]
Auto Trait Implementations
impl Send for SecondaryOptionsBuilder
impl Sync for SecondaryOptionsBuilder
impl Unpin for SecondaryOptionsBuilder
impl UnwindSafe for SecondaryOptionsBuilder
impl RefUnwindSafe for SecondaryOptionsBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,