pub struct PackSummary {Show 19 fields
pub agent_description: Option<PackSummaryAgentDescription>,
pub agent_images: Vec<PackImageFile>,
pub agent_short_description: Option<PackSummaryAgentShortDescription>,
pub categories: Vec<PublishingCategory>,
pub certified: Option<bool>,
pub certified_agent: Option<bool>,
pub cover_url: Option<String>,
pub description: PackSummaryDescription,
pub example_images: Vec<PackImageFile>,
pub id: f64,
pub logo_url: Option<String>,
pub name: PackSummaryName,
pub pack_entrypoints: Vec<PackEntrypoint>,
pub privacy_policy_url: Option<String>,
pub short_description: PackSummaryShortDescription,
pub source_code_visibility: Option<PackSourceCodeVisibility>,
pub support_email: Option<PackSummarySupportEmail>,
pub terms_of_service_url: Option<String>,
pub workspace_id: String,
}Expand description
Summary of a Pack.
JSON schema
{
"description": "Summary of a Pack.",
"type": "object",
"required": [
"categories",
"description",
"id",
"name",
"shortDescription",
"workspaceId"
],
"properties": {
"agentDescription": {
"description": "A full description for the pack as an agent.",
"examples": [
"Chat with a comprehensive tool that can calculate cool geometric
formulas like surface area, volume, and other mathematical operations.
This agent can help with complex calculations and provide detailed
explanations."
],
"type": "string",
"maxLength": 8192,
"x-allow-empty": true
},
"agentImages": {
"description": "The agent images for the Pack.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PackImageFile"
}
},
"agentShortDescription": {
"description": "A short description for the pack as an agent.",
"examples": [
"Chat with a tool that can calculate cool geometric formulas like
surface area."
],
"type": "string",
"maxLength": 256
},
"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"
},
"certifiedAgent": {
"description": "Denotes if the pack is certified by Grammarly to be
optimized for agent usage.",
"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"
}
},
"id": {
"description": "ID of the Pack.",
"examples": [
1003
],
"type": "number"
},
"logoUrl": {
"description": "The link to the logo of the Pack.",
"type": "string",
"format": "url"
},
"name": {
"description": "The name of the Pack.",
"examples": [
"Cool Geometry Formulas"
],
"type": "string",
"maxLength": 128
},
"packEntrypoints": {
"description": "Pack entrypoints where this pack is available",
"type": "array",
"items": {
"$ref": "#/components/schemas/PackEntrypoint"
}
},
"privacyPolicyUrl": {
"description": "A Privacy Policy URL for the Pack.",
"type": "string",
"format": "url",
"maxLength": 512
},
"shortDescription": {
"description": "A short version of the description of the Pack.",
"examples": [
"Calculate cool geometric formulas like surface area."
],
"type": "string",
"maxLength": 256
},
"sourceCodeVisibility": {
"$ref": "#/components/schemas/PackSourceCodeVisibility"
},
"supportEmail": {
"description": "A contact email for the Pack.",
"examples": [
"user@email.com"
],
"type": "string",
"maxLength": 512
},
"termsOfServiceUrl": {
"description": "A Terms of Service URL for the Pack.",
"type": "string",
"format": "url",
"maxLength": 512
},
"workspaceId": {
"description": "The parent workspace for the Pack.",
"examples": [
"ws-asdf"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "PackSummary"
}Fields§
§agent_description: Option<PackSummaryAgentDescription>A full description for the pack as an agent.
agent_images: Vec<PackImageFile>The agent images for the Pack.
agent_short_description: Option<PackSummaryAgentShortDescription>A short description for the pack as an agent.
categories: Vec<PublishingCategory>Publishing categories associated with this Pack.
certified: Option<bool>Denotes if the pack is certified by Coda.
certified_agent: Option<bool>Denotes if the pack is certified by Grammarly to be optimized for agent usage.
cover_url: Option<String>The link to the cover photo of the Pack.
description: PackSummaryDescriptionThe full description of the Pack.
example_images: Vec<PackImageFile>The example images for the Pack.
id: f64§logo_url: Option<String>The link to the logo of the Pack.
name: PackSummaryNameThe name of the Pack.
pack_entrypoints: Vec<PackEntrypoint>Pack entrypoints where this pack is available
privacy_policy_url: Option<String>A Privacy Policy URL for the Pack.
short_description: PackSummaryShortDescriptionA short version of the description of the Pack.
source_code_visibility: Option<PackSourceCodeVisibility>§support_email: Option<PackSummarySupportEmail>A contact email for the Pack.
terms_of_service_url: Option<String>A Terms of Service URL for the Pack.
workspace_id: StringThe parent workspace for the Pack.
Trait Implementations§
Source§impl Clone for PackSummary
impl Clone for PackSummary
Source§fn clone(&self) -> PackSummary
fn clone(&self) -> PackSummary
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 PackSummary
impl Debug for PackSummary
Source§impl<'de> Deserialize<'de> for PackSummary
impl<'de> Deserialize<'de> for PackSummary
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<&PackSummary> for PackSummary
impl From<&PackSummary> for PackSummary
Source§fn from(value: &PackSummary) -> Self
fn from(value: &PackSummary) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackSummary
impl RefUnwindSafe for PackSummary
impl Send for PackSummary
impl Sync for PackSummary
impl Unpin for PackSummary
impl UnwindSafe for PackSummary
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