pub struct CollectionSchema {
pub id: String,
pub alt_id: String,
pub name: String,
pub slug: String,
pub image: String,
pub seo: CollectionSEODto,
pub created_at: String,
}Available on crate feature
products only.Expand description
CollectionSchema from the GoHighLevel OpenAPI spec.
Fields§
§id: StringThe unique identifier for the collection Required by the API.
alt_id: StringLocation Id to which the collection is associated Required by the API.
name: StringName of the collection Required by the API.
slug: StringSlug of the collection with which navigation is established. Special Characters and spacing is not allowed and should be unique Required by the API.
image: StringThe URL of the image that is going to be displayed as the collection Thumbnail Required by the API.
seo: CollectionSEODtoThe information which will be displayed in SEO previews Required by the API.
created_at: StringDate at which the collection was created Required by the API.
Trait Implementations§
Source§impl Clone for CollectionSchema
impl Clone for CollectionSchema
Source§fn clone(&self) -> CollectionSchema
fn clone(&self) -> CollectionSchema
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 CollectionSchema
impl Debug for CollectionSchema
Source§impl Default for CollectionSchema
impl Default for CollectionSchema
Source§fn default() -> CollectionSchema
fn default() -> CollectionSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionSchema
impl<'de> Deserialize<'de> for CollectionSchema
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 CollectionSchema
impl RefUnwindSafe for CollectionSchema
impl Send for CollectionSchema
impl Sync for CollectionSchema
impl Unpin for CollectionSchema
impl UnsafeUnpin for CollectionSchema
impl UnwindSafe for CollectionSchema
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