Struct google_photoslibrary1::api::SimpleMediaItem [−][src]
A simple media item to be created in Google Photos via an upload token.
This type is not used in any activity, and only used as part of another schema.
Fields
file_name: Option<String>
File name with extension of the media item. This is shown to the user in Google Photos. The file name specified during the byte upload process is ignored if this field is set. The file name, including the file extension, shouldn’t be more than 255 characters. This is an optional field.
upload_token: Option<String>
Token identifying the media bytes that have been uploaded to Google.
Trait Implementations
impl Clone for SimpleMediaItem
[src]
fn clone(&self) -> SimpleMediaItem
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SimpleMediaItem
[src]
impl Default for SimpleMediaItem
[src]
fn default() -> SimpleMediaItem
[src]
impl<'de> Deserialize<'de> for SimpleMediaItem
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for SimpleMediaItem
[src]
impl Serialize for SimpleMediaItem
[src]
Auto Trait Implementations
impl RefUnwindSafe for SimpleMediaItem
impl Send for SimpleMediaItem
impl Sync for SimpleMediaItem
impl Unpin for SimpleMediaItem
impl UnwindSafe for SimpleMediaItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,