rustsf 0.0.3

Rust Salesforce API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use chrono::{Utc};

pub type Id18 = String;

pub type Datetime = chrono::DateTime<Utc>;

pub trait SObject {
    fn id(&self) -> Option<&str>;

    fn get_sobject_type(&self) -> &str;

    fn set_id(&mut self, id: Option<&str>) -> &mut Self;

    fn set_owner_id(&mut self, id: Option<&str>) -> &mut Self;

    fn get_owner_id(&self) -> Option<&str>;
}