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