[−][src]Function wread_data_mongodb::crud_repository::find_by_id
pub async fn find_by_id<'_, '_, '_, T>(
id: &'_ ObjectId,
collection_name: &'_ str,
db: &'_ Database
) -> Result<Option<T>, Error> where
T: Serialize + Deserialize<'a>,