pub struct PostInterface {
pub title: String,
pub visibility: Visibility,
pub thumbnail_url: Option<String>,
pub content_type: ContentType,
pub description: String,
pub bucket_video_url: Option<String>,
pub post_materials: Vec<PostMaterialInterface>,
}Available on crate feature
courses only.Expand description
PostInterface from the GoHighLevel OpenAPI spec.
Fields§
§title: StringRequired by the API.
visibility: VisibilityRequired by the API.
thumbnail_url: Option<String>§content_type: ContentTypeRequired by the API.
description: StringRequired by the API.
bucket_video_url: Option<String>§post_materials: Vec<PostMaterialInterface>Trait Implementations§
Source§impl Clone for PostInterface
impl Clone for PostInterface
Source§fn clone(&self) -> PostInterface
fn clone(&self) -> PostInterface
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 PostInterface
impl Debug for PostInterface
Source§impl Default for PostInterface
impl Default for PostInterface
Source§fn default() -> PostInterface
fn default() -> PostInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostInterface
impl<'de> Deserialize<'de> for PostInterface
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 PostInterface
impl RefUnwindSafe for PostInterface
impl Send for PostInterface
impl Sync for PostInterface
impl Unpin for PostInterface
impl UnsafeUnpin for PostInterface
impl UnwindSafe for PostInterface
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