[−][src]Struct ratsio::stan_client::StanMessageBuilder
Builder for StanMessage
.
Methods
impl StanMessageBuilder
[src]
impl StanMessageBuilder
pub fn subject(&mut self, value: String) -> &mut Self | [src] |
pub fn reply_to(&mut self, value: Option<String>) -> &mut Self | [src] |
pub fn payload(&mut self, value: Vec<u8>) -> &mut Self | [src] |
pub fn timestamp(&mut self, value: i64) -> &mut Self | [src] |
pub fn sequence(&mut self, value: u64) -> &mut Self | [src] |
pub fn redelivered(&mut self, value: bool) -> &mut Self | [src] |
pub fn build(&self) -> Result<StanMessage, String> | [src] |
Trait Implementations
impl Default for StanMessageBuilder
[src]
impl Default for StanMessageBuilder
fn default() -> StanMessageBuilder | [src] |
impl Clone for StanMessageBuilder
[src]
impl Clone for StanMessageBuilder
fn clone(&self) -> StanMessageBuilder | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for StanMessageBuilder
impl Send for StanMessageBuilder
impl Sync for StanMessageBuilder
impl Sync for StanMessageBuilder
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self