fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        let mut s = serializer.serialize_struct("Block", 3)?;
        s.serialize_field("schema", &self.serialized.schema)?;
        s.serialize_field("records", &self.serialized.records)?;
        s.serialize_field("aId", &self.serialized.a_id)?;
        s.end()
    }
/// Custom implementation to deserialize a Block from a given JSON record. First, we
/// extract the JSON string values from the known keys, then we convert them to binary
/// by base64 decoding them. Finally, we extract the Schema and RecordBatch messages and
/// deserialize them into the Arrow Array types.
Custom implementation to deserialize a Block from a given JSON record. First, we
extract the JSON string values from the known keys, then we convert them to binary
by base64 decoding them. Finally, we extract the Schema and RecordBatch messages and
deserialize them into the Arrow Array types.
Custom implementation to deserialize a Block from a given JSON record . First we extract the JSON string values from the known keys then we convert them to binary by base64 decoding them . Finally we extract the Schema and RecordBatch messages and deserialize them into the Arrow Array types .
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        let mut s = serializer.serialize_struct("Block", 3)?;
        s.serialize_field("schema", &self.serialized.schema)?;
        s.serialize_field("records", &self.serialized.records)?;
        s.serialize_field("aId", &self.serialized.a_id)?;
        s.end()
    }
fn serialize < S > ( & self , serializer : S ) -> Result < S :: Ok , S :: Error > where S : Serializer , { let mut s = serializer . serialize_struct ( " " , 3 ) ? ; s . serialize_field ( " " , & self . serialized . schema ) ? ; s . serialize_field ( " " , & self . serialized . records ) ? ; s . serialize_field ( " " , & self . serialized . a_id ) ? ; s . end ( ) }
Custom implementation to deserialize a Block from a given JSON record.
Custom implementation to deserialize a Block from a given JSON record .
&self
serializer
S
&self
serializer
S