pub struct Create {
pub copy: Option<Copy>,
pub new: Option<New>,
pub upload: Option<Upload>,
}Expand description
An object was created.
This type is not used in any activity, and only used as part of another schema.
Fields§
§copy: Option<Copy>If present, indicates the object was created by copying an existing Drive object.
new: Option<New>If present, indicates the object was newly created (e.g. as a blank document), not derived from a Drive object or external object.
upload: Option<Upload>If present, indicates the object originated externally and was uploaded to Drive.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Create
impl<'de> Deserialize<'de> for Create
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
impl Part for Create
Auto Trait Implementations§
impl Freeze for Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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