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 was making a docker web client using axum and needed the types as deserialize to use as Query parameters in the endpoint. Now I have to define everything manually a deserialize struct and then assign then to the bollard ones.
Is there any other way to go about it rather than creating other structs?
Afaik there should be no other way because of the orphan rule. Deserialize is a foreign trait and the aforementioned structs are also foreign to your crate. Why not create your own structs and implement From for the option structs?
The following types are not
Deserialize
in the networks nodule:InspectNetworkOptions
ListNetworkOptions
ConnectNetworkOptions
DisconnectNetworkOptions
PruneNetworkOptions
Even though they could be trivially. I did not find any issue, discusion related to this. If there is, please link it here.
The text was updated successfully, but these errors were encountered: