MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / serialize

Method serialize

tests/common/features/json_struct.rs:28–35  ·  view source on GitHub ↗
(&self, _serializer: S)

Source from the content-addressed store, hash-verified

26
27impl Serialize for NonSerializableStruct {
28 fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
29 where
30 S: Serializer,
31 {
32 Err(serde::ser::Error::custom(
33 "intentionally failing serialization",
34 ))
35 }
36}
37
38#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]

Callers

nothing calls this directly

Calls 1

customFunction · 0.85

Tested by

no test coverage detected