pub struct ResponseParametersBuilder { /* private fields */ }Expand description
Builder for the ResponseParameters structure
Implementations§
Source§impl ResponseParametersBuilder
impl ResponseParametersBuilder
Sourcepub fn migrate_to_chat_id(self, val: i64) -> Self
pub fn migrate_to_chat_id(self, val: i64) -> Self
Set the field migrate_to_chat_id to the given value
Sourcepub fn retry_after(self, val: i64) -> Self
pub fn retry_after(self, val: i64) -> Self
Set the field retry_after to the given value
Trait Implementations§
Source§impl Builder for ResponseParametersBuilder
impl Builder for ResponseParametersBuilder
Source§type Value = ResponseParameters
type Value = ResponseParameters
Type to be built
Auto Trait Implementations§
impl Freeze for ResponseParametersBuilder
impl RefUnwindSafe for ResponseParametersBuilder
impl Send for ResponseParametersBuilder
impl Sync for ResponseParametersBuilder
impl Unpin for ResponseParametersBuilder
impl UnwindSafe for ResponseParametersBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more