pub struct UpdatePostBuilder {
pub title: Option<String>,
pub privacy: Option<PostPrivacy>,
pub nsfw: Option<bool>,
}Expand description
A builder for updating a post.
Fields§
§title: Option<String>The title
If specified, it must be at least 3 characters long.
privacy: Option<PostPrivacy>The post privacy
nsfw: Option<bool>Whether the post is nsfw
Implementations§
Source§impl UpdatePostBuilder
impl UpdatePostBuilder
Trait Implementations§
Source§impl Debug for UpdatePostBuilder
impl Debug for UpdatePostBuilder
Auto Trait Implementations§
impl Freeze for UpdatePostBuilder
impl RefUnwindSafe for UpdatePostBuilder
impl Send for UpdatePostBuilder
impl Sync for UpdatePostBuilder
impl Unpin for UpdatePostBuilder
impl UnwindSafe for UpdatePostBuilder
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