pub struct LoginUrlBuilder { /* private fields */ }Expand description
Builder for the LoginUrl structure
Implementations§
Source§impl LoginUrlBuilder
impl LoginUrlBuilder
Sourcepub fn new(url: String) -> Self
pub fn new(url: String) -> Self
Instantiate the builder with the fields url, forward_text, bot_username, request_write_access
Sourcepub fn forward_text(self, val: String) -> Self
pub fn forward_text(self, val: String) -> Self
Set the field forward_text to the given value
Sourcepub fn bot_username(self, val: String) -> Self
pub fn bot_username(self, val: String) -> Self
Set the field bot_username to the given value
Sourcepub fn request_write_access(self, val: bool) -> Self
pub fn request_write_access(self, val: bool) -> Self
Set the field request_write_access to the given value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginUrlBuilder
impl RefUnwindSafe for LoginUrlBuilder
impl Send for LoginUrlBuilder
impl Sync for LoginUrlBuilder
impl Unpin for LoginUrlBuilder
impl UnwindSafe for LoginUrlBuilder
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