[][src]Struct tbot::types::LoginUrl

#[must_use]
pub struct LoginUrl<'a> { /* fields omitted */ }

Represents a LoginUrl.

Methods

impl<'a> LoginUrl<'a>[src]

pub const fn new(url: &'a str) -> Self[src]

Constructs a new LoginUrl.

pub fn forward_text(self, text: &'a str) -> Self[src]

Configures forward_text.

pub fn bot_username(self, username: &'a str) -> Self[src]

Configures bot_username.

pub fn request_write_access(self, should_request: bool) -> Self[src]

Configures request_write_access.

Trait Implementations

impl<'a> Clone for LoginUrl<'a>[src]

impl<'a> Copy for LoginUrl<'a>[src]

impl<'a> Debug for LoginUrl<'a>[src]

impl<'a> Eq for LoginUrl<'a>[src]

impl<'a> Hash for LoginUrl<'a>[src]

impl<'a> PartialEq<LoginUrl<'a>> for LoginUrl<'a>[src]

impl<'a> Serialize for LoginUrl<'a>[src]

impl<'a> StructuralEq for LoginUrl<'a>[src]

impl<'a> StructuralPartialEq for LoginUrl<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LoginUrl<'a>

impl<'a> Send for LoginUrl<'a>

impl<'a> Sync for LoginUrl<'a>

impl<'a> Unpin for LoginUrl<'a>

impl<'a> UnwindSafe for LoginUrl<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.