pub struct Pack {Show 22 fields
pub agent_description: Option<PackAgentDescription>,
pub agent_images: Vec<PackImageFile>,
pub agent_short_description: Option<PackAgentShortDescription>,
pub categories: Vec<PublishingCategory>,
pub certified: Option<bool>,
pub certified_agent: Option<bool>,
pub cover_url: Option<String>,
pub description: PackDescription,
pub example_images: Vec<PackImageFile>,
pub featured_doc_status: Option<FeaturedDocStatus>,
pub id: f64,
pub logo_url: Option<String>,
pub name: PackName,
pub overall_rate_limit: Option<PackRateLimit>,
pub pack_entrypoints: Vec<PackEntrypoint>,
pub per_connection_rate_limit: Option<PackRateLimit>,
pub privacy_policy_url: Option<String>,
pub short_description: PackShortDescription,
pub source_code_visibility: Option<PackSourceCodeVisibility>,
pub support_email: Option<PackSupportEmail>,
pub terms_of_service_url: Option<String>,
pub workspace_id: String,
}Expand description
Details about a Pack.
JSON schema
{
"description": "Details about 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"
}
},
"featuredDocStatus": {
"$ref": "#/components/schemas/FeaturedDocStatus"
},
"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
},
"overallRateLimit": {
"$ref": "#/components/schemas/PackRateLimit"
},
"packEntrypoints": {
"description": "Pack entrypoints where this pack is available",
"type": "array",
"items": {
"$ref": "#/components/schemas/PackEntrypoint"
}
},
"perConnectionRateLimit": {
"$ref": "#/components/schemas/PackRateLimit"
},
"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": "Pack"
}Fields§
§agent_description: Option<PackAgentDescription>A full description for the pack as an agent.
agent_images: Vec<PackImageFile>The agent images for the Pack.
agent_short_description: Option<PackAgentShortDescription>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: PackDescriptionThe full description of the Pack.
example_images: Vec<PackImageFile>The example images for the Pack.
featured_doc_status: Option<FeaturedDocStatus>§id: f64§logo_url: Option<String>The link to the logo of the Pack.
name: PackNameThe name of the Pack.
overall_rate_limit: Option<PackRateLimit>§pack_entrypoints: Vec<PackEntrypoint>Pack entrypoints where this pack is available
per_connection_rate_limit: Option<PackRateLimit>§privacy_policy_url: Option<String>A Privacy Policy URL for the Pack.
short_description: PackShortDescriptionA short version of the description of the Pack.
source_code_visibility: Option<PackSourceCodeVisibility>§support_email: Option<PackSupportEmail>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<'de> Deserialize<'de> for Pack
impl<'de> Deserialize<'de> for Pack
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 Pack
impl RefUnwindSafe for Pack
impl Send for Pack
impl Sync for Pack
impl Unpin for Pack
impl UnwindSafe for Pack
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