pub struct FolderReference {
pub browser_link: String,
pub id: String,
pub name: Option<String>,
pub type_: FolderReferenceType,
}
Expand description
Reference to a Coda folder.
JSON schema
{
"description": "Reference to a Coda folder.",
"type": "object",
"required": [
"browserLink",
"id",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the folder.",
"examples": [
"https://coda.io/docs?folderId=fl-1Ab234"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the Coda folder.",
"examples": [
"fl-1Ab234"
],
"type": "string"
},
"name": {
"description": "Name of the folder; included if the user has access
to the folder.",
"examples": [
"My docs"
],
"type": "string"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"folder"
],
"x-tsType": "Type.Folder"
}
},
"additionalProperties": false,
"x-schema-name": "FolderReference"
}
Fields§
§browser_link: String
Browser-friendly link to the folder.
id: String
ID of the Coda folder.
name: Option<String>
Name of the folder; included if the user has access to the folder.
type_: FolderReferenceType
The type of this resource.
Trait Implementations§
Source§impl Clone for FolderReference
impl Clone for FolderReference
Source§fn clone(&self) -> FolderReference
fn clone(&self) -> FolderReference
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 FolderReference
impl Debug for FolderReference
Source§impl<'de> Deserialize<'de> for FolderReference
impl<'de> Deserialize<'de> for FolderReference
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<&FolderReference> for FolderReference
impl From<&FolderReference> for FolderReference
Source§fn from(value: &FolderReference) -> Self
fn from(value: &FolderReference) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FolderReference
impl RefUnwindSafe for FolderReference
impl Send for FolderReference
impl Sync for FolderReference
impl Unpin for FolderReference
impl UnwindSafe for FolderReference
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