Struct google_drive2::ParentReference [−][src]
pub struct ParentReference {
pub is_root: Option<bool>,
pub kind: Option<String>,
pub id: Option<String>,
pub self_link: Option<String>,
pub parent_link: Option<String>,
}A reference to a file's parent.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get parents (response)
- insert parents (request|response)
Fields
is_root: Option<bool>
Whether or not the parent is the root folder.
kind: Option<String>
This is always drive#parentReference.
id: Option<String>
The ID of the parent.
self_link: Option<String>
A link back to this reference.
parent_link: Option<String>
A link to the parent.
Trait Implementations
impl Default for ParentReference[src]
impl Default for ParentReferencefn default() -> ParentReference[src]
fn default() -> ParentReferenceReturns the "default value" for a type. Read more
impl Clone for ParentReference[src]
impl Clone for ParentReferencefn clone(&self) -> ParentReference[src]
fn clone(&self) -> ParentReferenceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ParentReference[src]
impl Debug for ParentReferencefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl RequestValue for ParentReference[src]
impl RequestValue for ParentReferenceimpl ResponseResult for ParentReference[src]
impl ResponseResult for ParentReferenceAuto Trait Implementations
impl Send for ParentReference
impl Send for ParentReferenceimpl Sync for ParentReference
impl Sync for ParentReference