When I try to ObjectId::<ApUser>::parse(user.ap_id.into()), I get this
ObjectId::<ApUser>::parse(user.ap_id.into())
| -------------------------------- ^^^^^^^^^^^^^^^ the trait `From<Infallible>` is not implemented for `url::ParseError`
| |
| required by a bound introduced by this call
user.ap_id have String type and contains ActivityPub ID of object.
When I try to
ObjectId::<ApUser>::parse(user.ap_id.into())
, I get thisuser.ap_id
have String type and contains ActivityPub ID of object.