pub struct ApiLinkResolvedResource {
pub href: String,
pub id: String,
pub name: Option<String>,
pub type_: Type,
}
Expand description
Reference to the resolved resource.
JSON schema
{
"description": "Reference to the resolved resource.",
"type": "object",
"required": [
"href",
"id",
"type"
],
"properties": {
"href": {
"description": "API link to the resolved resource that can be
queried to get further information.",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages/canvas-IjkLmnO"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the resolved resource.",
"examples": [
"canvas-IjkLmnO"
],
"type": "string"
},
"name": {
"description": "Name of the resource.",
"examples": [
"My Page"
],
"type": "string"
},
"type": {
"$ref": "#/components/schemas/Type"
}
},
"additionalProperties": false,
"x-schema-name": "ApiLinkResolvedResource"
}
Fields§
§href: String
API link to the resolved resource that can be queried to get further information.
id: String
ID of the resolved resource.
name: Option<String>
Name of the resource.
type_: Type
Trait Implementations§
Source§impl Clone for ApiLinkResolvedResource
impl Clone for ApiLinkResolvedResource
Source§fn clone(&self) -> ApiLinkResolvedResource
fn clone(&self) -> ApiLinkResolvedResource
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 ApiLinkResolvedResource
impl Debug for ApiLinkResolvedResource
Source§impl<'de> Deserialize<'de> for ApiLinkResolvedResource
impl<'de> Deserialize<'de> for ApiLinkResolvedResource
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<&ApiLinkResolvedResource> for ApiLinkResolvedResource
impl From<&ApiLinkResolvedResource> for ApiLinkResolvedResource
Source§fn from(value: &ApiLinkResolvedResource) -> Self
fn from(value: &ApiLinkResolvedResource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiLinkResolvedResource
impl RefUnwindSafe for ApiLinkResolvedResource
impl Send for ApiLinkResolvedResource
impl Sync for ApiLinkResolvedResource
impl Unpin for ApiLinkResolvedResource
impl UnwindSafe for ApiLinkResolvedResource
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