Trait hvcg_governance_openapi_catholic_polity::ApiNoContext [−][src]
pub trait ApiNoContext<C: Send + Sync> {
Show 27 methods
fn poll_ready(
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>>;
fn context(&self) -> &C;
fn add_deanery<'life0, 'async_trait>(
&'life0 self,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<AddDeaneryResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDeaneryResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_deaneries<'life0, 'async_trait>(
&'life0 self,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDeaneriesResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_deanery_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDeaneryByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDeaneryResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn add_diocese<'life0, 'async_trait>(
&'life0 self,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<AddDioceseResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDioceseResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_diocese_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDioceseByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_dioceses<'life0, 'life1, 'async_trait>(
&'life0 self,
province_id: Option<Uuid>,
province_code: Option<Code>,
province_name: Option<String>,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<DioceseSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDiocesesResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn update_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDioceseResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn add_institute<'life0, 'async_trait>(
&'life0 self,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<AddInstituteResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteInstituteResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_institute_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetInstituteByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_institutes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<InstituteSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetInstitutesResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn update_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateInstituteResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn add_parish<'life0, 'async_trait>(
&'life0 self,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<AddParishResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteParishResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_parish_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetParishByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_parishes<'life0, 'async_trait>(
&'life0 self,
deanery_id: Option<Uuid>,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetParishesResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateParishResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn add_province<'life0, 'async_trait>(
&'life0 self,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<AddProvinceResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProvinceResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_province_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetProvinceByIdResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_provinces<'life0, 'async_trait>(
&'life0 self,
name: Option<String>,
province_code: Option<Code>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetProvincesResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateProvinceResponse, ApiError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
API where Context
isn’t passed on every API call
Required methods
fn poll_ready(
&self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Box<dyn Error + Send + Sync + 'static>>>
fn add_deanery<'life0, 'async_trait>(
&'life0 self,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<AddDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_deanery<'life0, 'async_trait>(
&'life0 self,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<AddDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new deanery
fn delete_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete deanery by ID
Get deaneries
fn get_deanery_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDeaneryByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deanery_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDeaneryByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find deanery by ID
fn update_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing deanery
fn add_diocese<'life0, 'async_trait>(
&'life0 self,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<AddDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_diocese<'life0, 'async_trait>(
&'life0 self,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<AddDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new diocese
fn delete_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete diocese by ID
fn get_diocese_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDioceseByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_diocese_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDioceseByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find diocese by ID
fn get_dioceses<'life0, 'life1, 'async_trait>(
&'life0 self,
province_id: Option<Uuid>,
province_code: Option<Code>,
province_name: Option<String>,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<DioceseSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDiocesesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_dioceses<'life0, 'life1, 'async_trait>(
&'life0 self,
province_id: Option<Uuid>,
province_code: Option<Code>,
province_name: Option<String>,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<DioceseSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDiocesesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get all dioceses
fn update_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing diocese
fn add_institute<'life0, 'async_trait>(
&'life0 self,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<AddInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_institute<'life0, 'async_trait>(
&'life0 self,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<AddInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new institute
fn delete_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete institute by ID
fn get_institute_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetInstituteByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_institute_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetInstituteByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find institute by ID
fn get_institutes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<InstituteSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetInstitutesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_institutes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<InstituteSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetInstitutesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get institutes
fn update_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing institute
fn add_parish<'life0, 'async_trait>(
&'life0 self,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<AddParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_parish<'life0, 'async_trait>(
&'life0 self,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<AddParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new parish
fn delete_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete parish by ID
fn get_parish_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetParishByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_parish_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetParishByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find parish by ID
fn get_parishes<'life0, 'async_trait>(
&'life0 self,
deanery_id: Option<Uuid>,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetParishesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_parishes<'life0, 'async_trait>(
&'life0 self,
deanery_id: Option<Uuid>,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetParishesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Get all parishes
fn update_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing parish
fn add_province<'life0, 'async_trait>(
&'life0 self,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<AddProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_province<'life0, 'async_trait>(
&'life0 self,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<AddProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new province
fn delete_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete province by ID
fn get_province_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetProvinceByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_province_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetProvinceByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find province by ID
Get all provinces
fn update_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing province
Implementations on Foreign Types
fn add_deanery<'life0, 'async_trait>(
&'life0 self,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<AddDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_deanery<'life0, 'async_trait>(
&'life0 self,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<AddDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new deanery
fn delete_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete deanery by ID
Get deaneries
fn get_deanery_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDeaneryByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deanery_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDeaneryByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find deanery by ID
fn update_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_deanery<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
deanery_mutation: DeaneryMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDeaneryResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing deanery
fn add_diocese<'life0, 'async_trait>(
&'life0 self,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<AddDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_diocese<'life0, 'async_trait>(
&'life0 self,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<AddDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new diocese
fn delete_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete diocese by ID
fn get_diocese_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDioceseByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_diocese_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetDioceseByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find diocese by ID
fn get_dioceses<'life0, 'life1, 'async_trait>(
&'life0 self,
province_id: Option<Uuid>,
province_code: Option<Code>,
province_name: Option<String>,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<DioceseSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDiocesesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_dioceses<'life0, 'life1, 'async_trait>(
&'life0 self,
province_id: Option<Uuid>,
province_code: Option<Code>,
province_name: Option<String>,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<DioceseSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetDiocesesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get all dioceses
fn update_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_diocese<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
diocese_mutation: DioceseMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateDioceseResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing diocese
fn add_institute<'life0, 'async_trait>(
&'life0 self,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<AddInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_institute<'life0, 'async_trait>(
&'life0 self,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<AddInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new institute
fn delete_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete institute by ID
fn get_institute_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetInstituteByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_institute_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetInstituteByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find institute by ID
fn get_institutes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<InstituteSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetInstitutesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn get_institutes<'life0, 'life1, 'async_trait>(
&'life0 self,
name: Option<String>,
location_name: Option<String>,
location_address: Option<String>,
location_email: Option<String>,
person_in_charge: Option<String>,
sorts: Option<&'life1 Vec<InstituteSortCriteria>>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetInstitutesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get institutes
fn update_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_institute<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
institute_mutation: InstituteMutation
) -> Pin<Box<dyn Future<Output = Result<UpdateInstituteResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing institute
fn add_parish<'life0, 'async_trait>(
&'life0 self,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<AddParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_parish<'life0, 'async_trait>(
&'life0 self,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<AddParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new parish
fn delete_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete parish by ID
fn get_parish_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetParishByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_parish_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetParishByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find parish by ID
fn get_parishes<'life0, 'async_trait>(
&'life0 self,
deanery_id: Option<Uuid>,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetParishesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_parishes<'life0, 'async_trait>(
&'life0 self,
deanery_id: Option<Uuid>,
diocese_id: Option<Uuid>,
name: Option<String>,
offset: Option<i32>,
count: Option<i32>
) -> Pin<Box<dyn Future<Output = Result<GetParishesResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Get all parishes
fn update_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_parish<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
parish_mutation: Option<ParishMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateParishResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing parish
fn add_province<'life0, 'async_trait>(
&'life0 self,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<AddProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_province<'life0, 'async_trait>(
&'life0 self,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<AddProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add new province
fn delete_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<DeleteProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Delete province by ID
fn get_province_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetProvinceByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_province_by_id<'life0, 'async_trait>(
&'life0 self,
id: Uuid
) -> Pin<Box<dyn Future<Output = Result<GetProvinceByIdResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Find province by ID
Get all provinces
fn update_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_province<'life0, 'async_trait>(
&'life0 self,
id: Uuid,
province_mutation: Option<ProvinceMutation>
) -> Pin<Box<dyn Future<Output = Result<UpdateProvinceResponse, ApiError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update an existing province