pub struct ShareCreator { /* private fields */ }Implementations§
pub fn public_upload(self, public_upload: bool) -> Self
pub fn password<P: Into<String>>(self, password: P) -> Self
pub fn permission(self, permission: SharePermission) -> Self
pub fn expire_date(self, expire_date: NaiveDate) -> Self
pub fn note<N: Into<String>>(self, note: N) -> Self
pub fn label<L: Into<String>>(self, label: L) -> Self
pub async fn send(self) -> Result<OcsShareAnswer<OcsShareData>, Error>
Auto Trait Implementations§
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