You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error (same for receiver and sender):
mismatched types
struct `types::dcb::ComunicationMessageCharacterCaracteristic` and struct `communication_request::ComunicationMessageCharacterCaracteristic` have similar names, but are actually distinct
dcb.rs(42,1):struct `types::dcb::ComunicationMessageCharacterCaracteristic` is defined in module `crate::types::dcb` of the current crate
pedro.rs(73,5):struct `communication_request::ComunicationMessageCharacterCaracteristic` is defined in module `crate::controllers::grpc::some_path::communication_request` of the current crate
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a service that can be reached through HTTP requests, specifically a POST, the body is as follows:
Where:
I'm trying to do the following:
And
CommunicationRequest
is like:I'm getting this error (same for receiver and sender):
When I check the types, those look like:
What am I missing to fix this?
Beta Was this translation helpful? Give feedback.
All reactions