pub fn serialize<S>(
method: &Method,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,Available on crate features
source-rest and source-xml only.pub fn serialize<S>(
method: &Method,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,source-rest and source-xml only.