pub struct CreateBlogPostParams {Show 14 fields
pub title: String,
pub location_id: String,
pub blog_id: String,
pub image_url: String,
pub description: String,
pub raw_html: String,
pub status: String,
pub image_alt_text: String,
pub categories: Vec<String>,
pub tags: Vec<String>,
pub author: String,
pub url_slug: String,
pub canonical_link: Option<String>,
pub published_at: String,
}Available on crate feature
blogs only.Expand description
CreateBlogPostParams from the GoHighLevel OpenAPI spec.
Fields§
§title: StringRequired by the API.
location_id: StringRequired by the API.
blog_id: StringYou can find the blog id from blog site dashboard link Required by the API.
image_url: StringRequired by the API.
description: StringRequired by the API.
raw_html: StringRequired by the API.
status: StringAllowed values: DRAFT, PUBLISHED, SCHEDULED, ARCHIVED.
Required by the API.
image_alt_text: StringRequired by the API.
categories: Vec<String>This needs to be array of category ids, which you can get from the category get api call. Required by the API.
This needs to be author id, which you can get from the author get api call. Required by the API.
url_slug: StringRequired by the API.
canonical_link: Option<String>§published_at: StringProvide ISO timestamp Required by the API.
Trait Implementations§
Source§impl Clone for CreateBlogPostParams
impl Clone for CreateBlogPostParams
Source§fn clone(&self) -> CreateBlogPostParams
fn clone(&self) -> CreateBlogPostParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateBlogPostParams
impl Debug for CreateBlogPostParams
Source§impl Default for CreateBlogPostParams
impl Default for CreateBlogPostParams
Source§fn default() -> CreateBlogPostParams
fn default() -> CreateBlogPostParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBlogPostParams
impl<'de> Deserialize<'de> for CreateBlogPostParams
Source§fn 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
Auto Trait Implementations§
impl Freeze for CreateBlogPostParams
impl RefUnwindSafe for CreateBlogPostParams
impl Send for CreateBlogPostParams
impl Sync for CreateBlogPostParams
impl Unpin for CreateBlogPostParams
impl UnsafeUnpin for CreateBlogPostParams
impl UnwindSafe for CreateBlogPostParams
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