Struct frankenstein::objects::LoginUrl
source · [−]pub struct LoginUrl {
pub url: String,
pub forward_text: Option<String>,
pub bot_username: Option<String>,
pub request_write_access: Option<bool>,
}
Fields
url: String
forward_text: Option<String>
bot_username: Option<String>
request_write_access: Option<bool>
Implementations
sourceimpl LoginUrl
impl LoginUrl
sourcepub fn builder() -> LoginUrlBuilder<((), (), (), ())>
pub fn builder() -> LoginUrlBuilder<((), (), (), ())>
Create a builder for building LoginUrl
.
On the builder, call .url(...)
, .forward_text(...)
(optional), .bot_username(...)
(optional), .request_write_access(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of LoginUrl
.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LoginUrl
impl<'de> Deserialize<'de> for LoginUrl
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LoginUrl
Auto Trait Implementations
impl RefUnwindSafe for LoginUrl
impl Send for LoginUrl
impl Sync for LoginUrl
impl Unpin for LoginUrl
impl UnwindSafe for LoginUrl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more