pub struct ExportChatInviteLinkParamsBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ExportChatInviteLinkParamsBuilder<S>
impl<S: State> ExportChatInviteLinkParamsBuilder<S>
Sourcepub fn build(self) -> ExportChatInviteLinkParamswhere
S: IsComplete,
pub fn build(self) -> ExportChatInviteLinkParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn chat_id(
self,
value: impl Into<ChatId>,
) -> ExportChatInviteLinkParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
pub fn chat_id(
self,
value: impl Into<ChatId>,
) -> ExportChatInviteLinkParamsBuilder<SetChatId<S>>where
S::ChatId: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ExportChatInviteLinkParamsBuilder<S>
impl<S> RefUnwindSafe for ExportChatInviteLinkParamsBuilder<S>
impl<S> Send for ExportChatInviteLinkParamsBuilder<S>
impl<S> Sync for ExportChatInviteLinkParamsBuilder<S>
impl<S> Unpin for ExportChatInviteLinkParamsBuilder<S>
impl<S> UnsafeUnpin for ExportChatInviteLinkParamsBuilder<S>
impl<S> UnwindSafe for ExportChatInviteLinkParamsBuilder<S>
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