pub struct CreatePostBuilder<TypedBuilderFields = ((), (), (), (), (), (), ())> { /* private fields */ }Expand description
Builder for CreatePost instances.
See CreatePost::builder() for more info.
Implementations§
Source§impl<__message, __root_id, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<((), __message, __root_id, __file_ids, __props, __metadata, __set_online)>
impl<__message, __root_id, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<((), __message, __root_id, __file_ids, __props, __metadata, __set_online)>
pub fn channel_id( self, channel_id: impl Into<String>, ) -> CreatePostBuilder<((String,), __message, __root_id, __file_ids, __props, __metadata, __set_online)>
Source§impl<__channel_id, __root_id, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, (), __root_id, __file_ids, __props, __metadata, __set_online)>
impl<__channel_id, __root_id, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, (), __root_id, __file_ids, __props, __metadata, __set_online)>
Source§impl<__channel_id, __message, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, (), __file_ids, __props, __metadata, __set_online)>
impl<__channel_id, __message, __file_ids, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, (), __file_ids, __props, __metadata, __set_online)>
Source§impl<__channel_id, __message, __root_id, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, (), __props, __metadata, __set_online)>
impl<__channel_id, __message, __root_id, __props, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, (), __props, __metadata, __set_online)>
Source§impl<__channel_id, __message, __root_id, __file_ids, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, (), __metadata, __set_online)>
impl<__channel_id, __message, __root_id, __file_ids, __metadata, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, (), __metadata, __set_online)>
Source§impl<__channel_id, __message, __root_id, __file_ids, __props, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, (), __set_online)>
impl<__channel_id, __message, __root_id, __file_ids, __props, __set_online> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, (), __set_online)>
pub fn metadata( self, metadata: CreatePostRequestMetadata, ) -> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, (Option<CreatePostRequestMetadata>,), __set_online)>
Source§impl<__channel_id, __message, __root_id, __file_ids, __props, __metadata> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, __metadata, ())>
impl<__channel_id, __message, __root_id, __file_ids, __props, __metadata> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, __metadata, ())>
pub fn set_online( self, set_online: bool, ) -> CreatePostBuilder<(__channel_id, __message, __root_id, __file_ids, __props, __metadata, (Option<bool>,))>
Source§impl<__root_id: CreatePostBuilder_Optional<Option<String>>, __file_ids: CreatePostBuilder_Optional<Option<Vec<String>>>, __props: CreatePostBuilder_Optional<Option<Value>>, __metadata: CreatePostBuilder_Optional<Option<CreatePostRequestMetadata>>, __set_online: CreatePostBuilder_Optional<Option<bool>>> CreatePostBuilder<((String,), (String,), __root_id, __file_ids, __props, __metadata, __set_online)>
impl<__root_id: CreatePostBuilder_Optional<Option<String>>, __file_ids: CreatePostBuilder_Optional<Option<Vec<String>>>, __props: CreatePostBuilder_Optional<Option<Value>>, __metadata: CreatePostBuilder_Optional<Option<CreatePostRequestMetadata>>, __set_online: CreatePostBuilder_Optional<Option<bool>>> CreatePostBuilder<((String,), (String,), __root_id, __file_ids, __props, __metadata, __set_online)>
Sourcepub fn build(self) -> CreatePost
pub fn build(self) -> CreatePost
Finalise the builder and create its CreatePost instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for CreatePostBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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