rustsf 0.0.4

Salesforce SDK for Rust, supports the latest API version 67.0, (Summer 2026)
Documentation
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;
}

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

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