Struct xo_api_client::api::xo::XoProcedures [−][src]
pub struct XoProcedures { /* fields omitted */ }Implementations
Get all objects from server
Ris a type that can hold that entire result set with all different typesfilteris an optional filterlimitis an optional max limit on number of results xo-cli: xo.getAllObjects [filter=
Get all objects of specified type from server
Ris a type that can represent that collection of objectsfilteris an optional filterlimitis an optional max limit on number of results
pub async fn get_object<R: XoObject>(
&self,
id: R::IdType
) -> Result<Option<R>, GetSingleObjectError> where
R::IdType: Ord,
pub async fn get_object<R: XoObject>(
&self,
id: R::IdType
) -> Result<Option<R>, GetSingleObjectError> where
R::IdType: Ord,
Get single object of specified type from server
Ris a type that can represent that type of objectidis the id of the object