Struct onedrive_api::option::DriveItemPutOption [−][src]
pub struct DriveItemPutOption { /* fields omitted */ }Option for PUT-like requests of DriveItem.
Implementations
impl DriveItemPutOption[src]
impl DriveItemPutOption[src]pub fn new() -> Self[src]
Create an empty (default) option.
pub fn if_match(self, tag: &Tag) -> Self[src]
pub fn conflict_behavior(self, conflict_behavior: ConflictBehavior) -> Self[src]
Specify the behavior if the target item already exists.
Note
This not only available for DELETE-like requests. Read the docs first.
See also
@microsoft.graph.conflictBehavior of DriveItem on Microsoft Docs
Trait Implementations
impl Default for DriveItemPutOption[src]
impl Default for DriveItemPutOption[src]fn default() -> DriveItemPutOption[src]
Auto Trait Implementations
impl RefUnwindSafe for DriveItemPutOption
impl RefUnwindSafe for DriveItemPutOptionimpl Send for DriveItemPutOption
impl Send for DriveItemPutOptionimpl Sync for DriveItemPutOption
impl Sync for DriveItemPutOptionimpl Unpin for DriveItemPutOption
impl Unpin for DriveItemPutOptionimpl UnwindSafe for DriveItemPutOption
impl UnwindSafe for DriveItemPutOptionBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]