#[non_exhaustive]pub struct SalesforceObject {
pub object_name: String,
pub fields: Vec<SalesforceField>,
/* private fields */
}
Expand description
Salesforce object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.object_name: String
Object name.
fields: Vec<SalesforceField>
Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
Implementations§
Source§impl SalesforceObject
impl SalesforceObject
pub fn new() -> Self
Sourcepub fn set_object_name<T: Into<String>>(self, v: T) -> Self
pub fn set_object_name<T: Into<String>>(self, v: T) -> Self
Sets the value of object_name.
Sourcepub fn set_fields<T, V>(self, v: T) -> Self
pub fn set_fields<T, V>(self, v: T) -> Self
Sets the value of fields.
Trait Implementations§
Source§impl Clone for SalesforceObject
impl Clone for SalesforceObject
Source§fn clone(&self) -> SalesforceObject
fn clone(&self) -> SalesforceObject
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 SalesforceObject
impl Debug for SalesforceObject
Source§impl Default for SalesforceObject
impl Default for SalesforceObject
Source§fn default() -> SalesforceObject
fn default() -> SalesforceObject
Returns the “default value” for a type. Read more
Source§impl Message for SalesforceObject
impl Message for SalesforceObject
Source§impl PartialEq for SalesforceObject
impl PartialEq for SalesforceObject
impl StructuralPartialEq for SalesforceObject
Auto Trait Implementations§
impl Freeze for SalesforceObject
impl RefUnwindSafe for SalesforceObject
impl Send for SalesforceObject
impl Sync for SalesforceObject
impl Unpin for SalesforceObject
impl UnwindSafe for SalesforceObject
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