pub struct AttachableRef {
pub include_on_send: Option<bool>,
pub line_info: Option<String>,
pub no_ref_only: Option<bool>,
pub custom_field: Option<Vec<CustomField>>,
pub ref_type: Option<String>,
pub inactive: Option<bool>,
pub entity_ref: Option<NtRef>,
}Expand description
AttachableRef
A reference that links an attachment to a target QuickBooks entity (such as an Invoice line or a Bill).
Most callers will construct this via QBToAttachableRef::to_attach_ref() on an entity that implements QBToRef.
Fields§
§include_on_send: Option<bool>Indicates if the entity should be included on send
line_info: Option<String>Line information for the entity
no_ref_only: Option<bool>Indicates if the entity is a reference only
custom_field: Option<Vec<CustomField>>Custom fields for the entity
ref_type: Option<String>Type of the entity
inactive: Option<bool>Indicates if the entity is inactive
entity_ref: Option<NtRef>The unique ID of the entity
Trait Implementations§
Source§impl Clone for AttachableRef
impl Clone for AttachableRef
Source§fn clone(&self) -> AttachableRef
fn clone(&self) -> AttachableRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttachableRef
impl Debug for AttachableRef
Source§impl Default for AttachableRef
impl Default for AttachableRef
Source§fn default() -> AttachableRef
fn default() -> AttachableRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachableRefwhere
AttachableRef: Default,
impl<'de> Deserialize<'de> for AttachableRefwhere
AttachableRef: Default,
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
Source§impl From<NtRef> for AttachableRef
impl From<NtRef> for AttachableRef
Source§impl PartialEq for AttachableRef
impl PartialEq for AttachableRef
Source§impl Serialize for AttachableRef
impl Serialize for AttachableRef
impl StructuralPartialEq for AttachableRef
Auto Trait Implementations§
impl Freeze for AttachableRef
impl RefUnwindSafe for AttachableRef
impl Send for AttachableRef
impl Sync for AttachableRef
impl Unpin for AttachableRef
impl UnwindSafe for AttachableRef
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