pub fn reject_server_set<O: SetObject>(
create: &Map<String, Value>,
) -> Option<SetError>Expand description
Reject a /set create that carries a server-set property of O.
RFC 8620 §1.1: for a “server-set” property, “The client MUST NOT send
this property when creating a new object of this type.”; RFC 8620 §5.3
makes such a record invalidProperties.
A null value asserts nothing and is treated as absent.
Returns None when create carries none of SetObject::SERVER_SET
with a non-null value. Otherwise returns an invalidProperties
SetError whose properties lists each one carried, in SERVER_SET
order.