pub struct SendResponseModel {Show 19 fields
pub object: Option<String>,
pub id: Option<Uuid>,
pub access_id: Option<String>,
pub type: Option<SendType>,
pub auth_type: Option<AuthType>,
pub name: Option<String>,
pub notes: Option<String>,
pub file: Option<Box<SendFileModel>>,
pub text: Option<Box<SendTextModel>>,
pub key: Option<String>,
pub max_access_count: Option<i32>,
pub access_count: Option<i32>,
pub password: Option<String>,
pub emails: Option<String>,
pub disabled: Option<bool>,
pub revision_date: Option<String>,
pub expiration_date: Option<String>,
pub deletion_date: Option<String>,
pub hide_email: Option<bool>,
}Expand description
SendResponseModel : A response issued to a Bitwarden client in response to ownership operations.
Fields§
§object: Option<String>§id: Option<Uuid>Identifies the send to its owner
access_id: Option<String>Identifies the send in a send URL
type: Option<SendType>§auth_type: Option<AuthType>§name: Option<String>Label for the send.
notes: Option<String>Notes for the send. This is only visible to the owner of the send. This field is encrypted.
file: Option<Box<SendFileModel>>§text: Option<Box<SendTextModel>>§key: Option<String>A base64-encoded byte array containing the Send’s encryption key. It’s also provided to send recipients in the Send’s URL.
max_access_count: Option<i32>The maximum number of times a send can be accessed before it expires. When this value is null, there is no limit.
access_count: Option<i32>The number of times a send has been accessed since it was created.
password: Option<String>Base64-encoded byte array of a password hash that grants access to the send. Mutually exclusive with Bit.Api.Tools.Models.Response.SendResponseModel.Emails.
emails: Option<String>Comma-separated list of emails that may access the send using OTP authentication. Mutually exclusive with Bit.Api.Tools.Models.Response.SendResponseModel.Password.
disabled: Option<bool>When true, send access is disabled.
revision_date: Option<String>The last time this send’s data changed.
expiration_date: Option<String>The date after which a send cannot be accessed. When this value is null, there is no expiration date.
deletion_date: Option<String>The date after which a send may be automatically deleted from the server.
hide_email: Option<bool>When true send access hides the user’s email address and displays a confirmation message instead.
Implementations§
Source§impl SendResponseModel
impl SendResponseModel
Sourcepub fn new() -> SendResponseModel
pub fn new() -> SendResponseModel
A response issued to a Bitwarden client in response to ownership operations.
Trait Implementations§
Source§impl Clone for SendResponseModel
impl Clone for SendResponseModel
Source§fn clone(&self) -> SendResponseModel
fn clone(&self) -> SendResponseModel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SendResponseModel
impl Debug for SendResponseModel
Source§impl Default for SendResponseModel
impl Default for SendResponseModel
Source§fn default() -> SendResponseModel
fn default() -> SendResponseModel
Source§impl<'de> Deserialize<'de> for SendResponseModel
impl<'de> Deserialize<'de> for SendResponseModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SendResponseModel
impl PartialEq for SendResponseModel
Source§impl Serialize for SendResponseModel
impl Serialize for SendResponseModel
impl StructuralPartialEq for SendResponseModel
Auto Trait Implementations§
impl Freeze for SendResponseModel
impl RefUnwindSafe for SendResponseModel
impl Send for SendResponseModel
impl Sync for SendResponseModel
impl Unpin for SendResponseModel
impl UnsafeUnpin for SendResponseModel
impl UnwindSafe for SendResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<> Read more