pub struct CustomFieldsApi { /* private fields */ }Implementations§
Source§impl CustomFieldsApi
impl CustomFieldsApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list(&self, location_id: &str) -> Result<GetCustomFieldsResponse>
pub async fn get(&self, field_id: &str) -> Result<GetCustomFieldResponse>
pub async fn create( &self, params: &CreateCustomFieldParams, ) -> Result<GetCustomFieldResponse>
pub async fn update( &self, field_id: &str, params: &CreateCustomFieldParams, ) -> Result<GetCustomFieldResponse>
pub async fn delete(&self, field_id: &str) -> Result<DeleteCustomFieldResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for CustomFieldsApi
impl !UnwindSafe for CustomFieldsApi
impl Freeze for CustomFieldsApi
impl Send for CustomFieldsApi
impl Sync for CustomFieldsApi
impl Unpin for CustomFieldsApi
impl UnsafeUnpin for CustomFieldsApi
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