pub struct BillFile {
pub domain_id: Option<String>,
pub domain_type: String,
pub file_url: String,
pub filename: Option<String>,
pub image_url: Option<String>,
pub meta: BillFileMetaData,
pub name: String,
pub extra: Map<String, Value>,
}Expand description
File attached to a bill. This embedded representation has no file ID; use its fileUrl to download the document.
Fields§
§domain_id: Option<String>Bill ID stored as a file-domain string.
domain_type: StringAllowed values: bill.
file_url: String§filename: Option<String>Stored filename, or null when unavailable.
image_url: Option<String>Image preview URL when available; otherwise null.
meta: BillFileMetaDataFile modification metadata. Creation metadata is not serialized.
name: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BillFile
impl<'de> Deserialize<'de> for BillFile
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BillFile
Auto Trait Implementations§
impl Freeze for BillFile
impl RefUnwindSafe for BillFile
impl Send for BillFile
impl Sync for BillFile
impl Unpin for BillFile
impl UnsafeUnpin for BillFile
impl UnwindSafe for BillFile
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