pub struct PhotoInitRequestBuilder { /* private fields */ }Expand description
Builder for PhotoInitRequest.
Implementations§
Source§impl PhotoInitRequestBuilder
impl PhotoInitRequestBuilder
pub fn post_info<VALUE: Into<PostInfo>>(&mut self, value: VALUE) -> &mut Self
pub fn source_info<VALUE: Into<SourceInfo>>( &mut self, value: VALUE, ) -> &mut Self
pub fn post_mode<VALUE: Into<PostMode>>(&mut self, value: VALUE) -> &mut Self
pub fn media_type<VALUE: Into<MediaType>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<PhotoInitRequest, PhotoInitRequestBuilderError>
pub fn build(&self) -> Result<PhotoInitRequest, PhotoInitRequestBuilderError>
Trait Implementations§
Source§impl Clone for PhotoInitRequestBuilder
impl Clone for PhotoInitRequestBuilder
Source§fn clone(&self) -> PhotoInitRequestBuilder
fn clone(&self) -> PhotoInitRequestBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PhotoInitRequestBuilder
impl RefUnwindSafe for PhotoInitRequestBuilder
impl Send for PhotoInitRequestBuilder
impl Sync for PhotoInitRequestBuilder
impl Unpin for PhotoInitRequestBuilder
impl UnsafeUnpin for PhotoInitRequestBuilder
impl UnwindSafe for PhotoInitRequestBuilder
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