pub fn check_outgoing<T: Validate>(
value: &T,
config: &ClientConfig,
) -> Result<(), OcpiError>Available on crate feature
client only.Expand description
Validates an object before it goes on the wire, when the configuration asks for it.
ยงErrors
Returns OcpiError::Invalid listing every violation.