Struct xo_api_client::api::xo::XoProcedures [−][src]
pub struct XoProcedures { /* fields omitted */ }
Implementations
Get all objects from server
R
is a type that can hold that entire result set with all different typesfilter
is an optional filterlimit
is an optional max limit on number of results xo-cli: xo.getAllObjects [filter=
Get all objects of specified type from server
R
is a type that can represent that collection of objectsfilter
is an optional filterlimit
is 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
R
is a type that can represent that type of objectid
is the id of the object