pub struct PackListing {Show 23 fields
pub bundled_pack_plan: Option<BundledPackPlan>,
pub categories: Vec<PublishingCategory>,
pub certified: Option<bool>,
pub cover_url: Option<String>,
pub description: PackListingDescription,
pub example_images: Vec<PackImageFile>,
pub external_metadata_url: String,
pub last_released_at: Option<DateTime<Utc>>,
pub logo_url: String,
pub makers: Vec<MakerSummary>,
pub minimum_feature_set: Option<FeatureSet>,
pub name: String,
pub pack_id: f64,
pub pack_version: String,
pub privacy_policy_url: Option<String>,
pub release_id: Option<f64>,
pub sdk_version: String,
pub short_description: String,
pub source_code_visibility: Option<PackSourceCodeVisibility>,
pub standard_pack_plan: Option<StandardPackPlan>,
pub support_email: Option<String>,
pub terms_of_service_url: Option<String>,
pub unrestricted_feature_set: Option<FeatureSet>,
}
Expand description
A Pack listing.
JSON schema
{
"description": "A Pack listing.",
"type": "object",
"required": [
"categories",
"description",
"externalMetadataUrl",
"logoUrl",
"makers",
"name",
"packId",
"packVersion",
"sdkVersion",
"shortDescription"
],
"properties": {
"bundledPackPlan": {
"$ref": "#/components/schemas/BundledPackPlan"
},
"categories": {
"description": "Publishing Categories associated with this Pack.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PublishingCategory"
}
},
"certified": {
"description": "Denotes if the pack is certified by Coda.",
"type": "boolean"
},
"coverUrl": {
"description": "The link to the cover photo of the Pack.",
"type": "string",
"format": "url"
},
"description": {
"description": "The full description of the Pack.",
"examples": [
"This Pack allows users to calculate the surface area and volume
of a few common 3D shapes, like cubes and pyramids."
],
"type": "string",
"maxLength": 8192
},
"exampleImages": {
"description": "The example images for the Pack.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PackImageFile"
}
},
"externalMetadataUrl": {
"description": "The URL where complete metadata about the contents
of the Pack version can be downloaded.",
"examples": [
"https://codahosted.io/packs/12345/1.2.3/metadata/0c892064aa5cb.json"
],
"type": "string"
},
"lastReleasedAt": {
"description": "The timestamp of the latest release of this Pack.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"logoUrl": {
"description": "The link to the logo of the Pack.",
"type": "string",
"format": "url"
},
"makers": {
"description": "Makers associated with this Pack.",
"type": "array",
"items": {
"$ref": "#/components/schemas/MakerSummary"
}
},
"minimumFeatureSet": {
"$ref": "#/components/schemas/FeatureSet"
},
"name": {
"description": "The name of the Pack.",
"examples": [
"Cool Geometry Formulas"
],
"type": "string"
},
"packId": {
"description": "ID of the Pack.",
"examples": [
1003
],
"type": "number"
},
"packVersion": {
"description": "The version of the Pack.",
"examples": [
"1.0.3"
],
"type": "string"
},
"privacyPolicyUrl": {
"description": "A Privacy Policy URL for the Pack.",
"type": "string",
"format": "url"
},
"releaseId": {
"description": "The current release number of the Pack if released,
otherwise undefined.",
"examples": [
2
],
"type": "number"
},
"sdkVersion": {
"description": "What Packs SDK version was this version built on.",
"examples": [
"1.5.1"
],
"type": "string"
},
"shortDescription": {
"description": "A short version of the description of the Pack.",
"examples": [
"Calculate cool geometric formulas like surface area."
],
"type": "string"
},
"sourceCodeVisibility": {
"$ref": "#/components/schemas/PackSourceCodeVisibility"
},
"standardPackPlan": {
"$ref": "#/components/schemas/StandardPackPlan"
},
"supportEmail": {
"description": "A contact email for the Pack.",
"examples": [
"user@email.com"
],
"type": "string"
},
"termsOfServiceUrl": {
"description": "A Terms of Service URL for the Pack.",
"type": "string",
"format": "url"
},
"unrestrictedFeatureSet": {
"$ref": "#/components/schemas/FeatureSet"
}
},
"additionalProperties": false,
"x-schema-name": "PackListing"
}
Fields§
§bundled_pack_plan: Option<BundledPackPlan>
§categories: Vec<PublishingCategory>
Publishing Categories associated with this Pack.
certified: Option<bool>
Denotes if the pack is certified by Coda.
cover_url: Option<String>
The link to the cover photo of the Pack.
description: PackListingDescription
The full description of the Pack.
example_images: Vec<PackImageFile>
The example images for the Pack.
external_metadata_url: String
The URL where complete metadata about the contents of the Pack version can be downloaded.
last_released_at: Option<DateTime<Utc>>
The timestamp of the latest release of this Pack.
logo_url: String
The link to the logo of the Pack.
makers: Vec<MakerSummary>
Makers associated with this Pack.
minimum_feature_set: Option<FeatureSet>
§name: String
The name of the Pack.
pack_id: f64
§pack_version: String
The version of the Pack.
privacy_policy_url: Option<String>
A Privacy Policy URL for the Pack.
release_id: Option<f64>
§sdk_version: String
What Packs SDK version was this version built on.
short_description: String
A short version of the description of the Pack.
source_code_visibility: Option<PackSourceCodeVisibility>
§standard_pack_plan: Option<StandardPackPlan>
§support_email: Option<String>
A contact email for the Pack.
terms_of_service_url: Option<String>
A Terms of Service URL for the Pack.
unrestricted_feature_set: Option<FeatureSet>
Trait Implementations§
Source§impl Clone for PackListing
impl Clone for PackListing
Source§fn clone(&self) -> PackListing
fn clone(&self) -> PackListing
Returns a duplicate of the value. Read more
1.0.0 · 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 PackListing
impl Debug for PackListing
Source§impl<'de> Deserialize<'de> for PackListing
impl<'de> Deserialize<'de> for PackListing
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
Source§impl From<&PackListing> for PackListing
impl From<&PackListing> for PackListing
Source§fn from(value: &PackListing) -> Self
fn from(value: &PackListing) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackListing
impl RefUnwindSafe for PackListing
impl Send for PackListing
impl Sync for PackListing
impl Unpin for PackListing
impl UnwindSafe for PackListing
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