pub struct Request {
pub file_id: Id<DriveFile>,
pub name: String,
pub url: Url,
pub category: Option<String>,
pub aliases: Option<Vec<String>>,
}Fields§
§file_id: Id<DriveFile>Available on crate feature
§12-9-0 only.name: StringAvailable on non-crate feature
§12-9-0 only.url: UrlAvailable on non-crate feature
§12-9-0 only.category: Option<String>Available on non-crate feature
§12-9-0 only.aliases: Option<Vec<String>>Available on non-crate feature
12-9-0 only.Implementations§
Source§impl Request
impl Request
Sourcepub fn builder() -> RequestBuilder<((), (), (), (), ())>
pub fn builder() -> RequestBuilder<((), (), (), (), ())>
Create a builder for building Request.
On the builder, call .file_id(...), .name(...), .url(...), .category(...)(optional), .aliases(...)(optional) to set the values of the fields (they accept Into values).
Finally, call .build() to create the instance of Request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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