pub struct CreatePostParams {
pub create_post_request: CreatePostRequest,
pub set_online: Option<bool>,
}Expand description
struct for passing parameters to the method create_post
Fields§
§create_post_request: CreatePostRequestPost object to create
set_online: Option<bool>Whether to set the user status as online or not.
Trait Implementations§
Source§impl Clone for CreatePostParams
impl Clone for CreatePostParams
Source§impl Debug for CreatePostParams
impl Debug for CreatePostParams
Auto Trait Implementations§
impl Freeze for CreatePostParams
impl RefUnwindSafe for CreatePostParams
impl Send for CreatePostParams
impl Sync for CreatePostParams
impl Unpin for CreatePostParams
impl UnsafeUnpin for CreatePostParams
impl UnwindSafe for CreatePostParams
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