pub struct UpdateBlogPostParams {Show 15 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 word_count: f64,
pub canonical_link: Option<String>,
pub published_at: String,
}Available on crate feature
blogs only.Expand description
UpdateBlogPostParams 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.
word_count: f64Required by the API.
canonical_link: Option<String>§published_at: StringProvide ISO timestamp Required by the API.
Trait Implementations§
Source§impl Clone for UpdateBlogPostParams
impl Clone for UpdateBlogPostParams
Source§fn clone(&self) -> UpdateBlogPostParams
fn clone(&self) -> UpdateBlogPostParams
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 UpdateBlogPostParams
impl Debug for UpdateBlogPostParams
Source§impl Default for UpdateBlogPostParams
impl Default for UpdateBlogPostParams
Source§fn default() -> UpdateBlogPostParams
fn default() -> UpdateBlogPostParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateBlogPostParams
impl<'de> Deserialize<'de> for UpdateBlogPostParams
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 UpdateBlogPostParams
impl RefUnwindSafe for UpdateBlogPostParams
impl Send for UpdateBlogPostParams
impl Sync for UpdateBlogPostParams
impl Unpin for UpdateBlogPostParams
impl UnsafeUnpin for UpdateBlogPostParams
impl UnwindSafe for UpdateBlogPostParams
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