Trait teloxide_core::payloads::SetMyNameSetters

source ·
pub trait SetMyNameSetters: HasPayload<Payload = SetMyName> + Sized {
    // Provided methods
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn language_code<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of SetMyName

Provided Methods§

source

fn name<T>(self, value: T) -> Self
where T: Into<String>,

Setter for name field.

source

fn language_code<T>(self, value: T) -> Self
where T: Into<String>,

Setter for language_code field.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> SetMyNameSetters for P
where P: HasPayload<Payload = SetMyName>,