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