Struct google_photoslibrary1::api::SearchMediaItemsRequest [−][src]
Request to search for media items in a user’s library. If the album id is specified, this call will return the list of media items in the album. If neither filters nor album id are specified, this call will return all media items in a user’s Google Photos library. If filters are specified, this call will return all media items in the user’s library that fulfill the filter criteria. Filters and album id must not both be set, as this will result in an invalid request.
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).
- search media items (request)
Fields
album_id: Option<String>
Identifier of an album. If populated, lists all media items in specified album. Can’t set in conjunction with any filters.
filters: Option<Filters>
Filters to apply to the request. Can’t be set in conjunction with an albumId
.
page_size: Option<i32>
Maximum number of media items to return in the response. Fewer media items might be returned than the specified number. The default pageSize
is 25, the maximum is 100.
page_token: Option<String>
A continuation token to get the next page of the results. Adding this to the request returns the rows after the pageToken
. The pageToken
should be the value returned in the nextPageToken
parameter in the response to the searchMediaItems
request.
Trait Implementations
impl Clone for SearchMediaItemsRequest
[src]
fn clone(&self) -> SearchMediaItemsRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SearchMediaItemsRequest
[src]
impl Default for SearchMediaItemsRequest
[src]
fn default() -> SearchMediaItemsRequest
[src]
impl<'de> Deserialize<'de> for SearchMediaItemsRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for SearchMediaItemsRequest
[src]
impl Serialize for SearchMediaItemsRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchMediaItemsRequest
impl Send for SearchMediaItemsRequest
impl Sync for SearchMediaItemsRequest
impl Unpin for SearchMediaItemsRequest
impl UnwindSafe for SearchMediaItemsRequest
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>,