Trait borsh::ser::BorshSerialize [−][src]
pub trait BorshSerialize { fn serialize<W: Write>(&self, writer: &mut W) -> Result<()>; fn try_to_vec(&self) -> Result<Vec<u8>> { ... } }
Expand description
A data-structure that can be serialized into binary format by NBOR.
use borsh::BorshSerialize; #[derive(BorshSerialize)] struct MyBorshSerializableStruct { value: String, } let x = MyBorshSerializableStruct { value: "hello".to_owned() }; let mut buffer: Vec<u8> = Vec::new(); x.serialize(&mut buffer).unwrap(); let single_serialized_buffer_len = buffer.len(); x.serialize(&mut buffer).unwrap(); assert_eq!(buffer.len(), single_serialized_buffer_len * 2); let mut buffer: Vec<u8> = vec![0; 1024 + single_serialized_buffer_len]; let mut buffer_slice_enough_for_the_data = &mut buffer[1024..1024 + single_serialized_buffer_len]; x.serialize(&mut buffer_slice_enough_for_the_data).unwrap();
Required methods
Provided methods
fn try_to_vec(&self) -> Result<Vec<u8>>
[src]
fn try_to_vec(&self) -> Result<Vec<u8>>
[src]Serialize this instance into a vector of bytes.
Implementations on Foreign Types
impl<T0, T1, T2> BorshSerialize for (T0, T1, T2) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
[src]
impl<T0, T1, T2> BorshSerialize for (T0, T1, T2) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
[src]impl<T0, T1, T2, T3> BorshSerialize for (T0, T1, T2, T3) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
[src]
impl<T0, T1, T2, T3> BorshSerialize for (T0, T1, T2, T3) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4> BorshSerialize for (T0, T1, T2, T3, T4) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4> BorshSerialize for (T0, T1, T2, T3, T4) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5> BorshSerialize for (T0, T1, T2, T3, T4, T5) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5> BorshSerialize for (T0, T1, T2, T3, T4, T5) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
T18: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
T18: BorshSerialize,
[src]impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
T18: BorshSerialize,
T19: BorshSerialize,
[src]
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> BorshSerialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) where
T0: BorshSerialize,
T1: BorshSerialize,
T2: BorshSerialize,
T3: BorshSerialize,
T4: BorshSerialize,
T5: BorshSerialize,
T6: BorshSerialize,
T7: BorshSerialize,
T8: BorshSerialize,
T9: BorshSerialize,
T10: BorshSerialize,
T11: BorshSerialize,
T12: BorshSerialize,
T13: BorshSerialize,
T14: BorshSerialize,
T15: BorshSerialize,
T16: BorshSerialize,
T17: BorshSerialize,
T18: BorshSerialize,
T19: BorshSerialize,
[src]Implementors
impl BorshSerialize for Definition where
u32: BorshSerialize,
Declaration: BorshSerialize,
Declaration: BorshSerialize,
Vec<Declaration>: BorshSerialize,
Vec<(VariantName, Declaration)>: BorshSerialize,
Fields: BorshSerialize,
[src]
impl BorshSerialize for Definition where
u32: BorshSerialize,
Declaration: BorshSerialize,
Declaration: BorshSerialize,
Vec<Declaration>: BorshSerialize,
Vec<(VariantName, Declaration)>: BorshSerialize,
Fields: BorshSerialize,
[src]impl BorshSerialize for Fields where
Vec<(FieldName, Declaration)>: BorshSerialize,
Vec<Declaration>: BorshSerialize,
[src]
impl BorshSerialize for Fields where
Vec<(FieldName, Declaration)>: BorshSerialize,
Vec<Declaration>: BorshSerialize,
[src]impl BorshSerialize for BorshSchemaContainer where
Declaration: BorshSerialize,
HashMap<Declaration, Definition>: BorshSerialize,
[src]
impl BorshSerialize for BorshSchemaContainer where
Declaration: BorshSerialize,
HashMap<Declaration, Definition>: BorshSerialize,
[src]impl<K, V, H> BorshSerialize for HashMap<K, V, H> where
K: BorshSerialize + PartialOrd,
V: BorshSerialize,
H: BuildHasher,
[src]
impl<K, V, H> BorshSerialize for HashMap<K, V, H> where
K: BorshSerialize + PartialOrd,
V: BorshSerialize,
H: BuildHasher,
[src]impl<T, H> BorshSerialize for HashSet<T, H> where
T: BorshSerialize + PartialOrd,
H: BuildHasher,
[src]
impl<T, H> BorshSerialize for HashSet<T, H> where
T: BorshSerialize + PartialOrd,
H: BuildHasher,
[src]impl BorshSerialize for AgnosticOrderbookInstruction where
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
impl BorshSerialize for AgnosticOrderbookInstruction where
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
impl BorshSerialize for AccountTag
impl BorshSerialize for AccountTag
impl BorshSerialize for Side
impl BorshSerialize for Side
impl BorshSerialize for SelfTradeBehavior
impl BorshSerialize for SelfTradeBehavior
impl BorshSerialize for MarketState where
AccountTag: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for MarketState where
AccountTag: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Event where
Side: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
Vec<u8>: BorshSerialize,
Vec<u8>: BorshSerialize,
Side: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
Vec<u8>: BorshSerialize,
impl BorshSerialize for Event where
Side: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
Vec<u8>: BorshSerialize,
Vec<u8>: BorshSerialize,
Side: BorshSerialize,
u128: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
Vec<u8>: BorshSerialize,
impl BorshSerialize for EventQueueHeader where
AccountTag: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for EventQueueHeader where
AccountTag: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for OrderSummary where
Option<u128>: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for OrderSummary where
Option<u128>: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
u128: BorshSerialize,
impl BorshSerialize for Params where
u128: BorshSerialize,
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Params where
u64: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
impl BorshSerialize for Params where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
Side: BorshSerialize,
u64: BorshSerialize,
Vec<u8>: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
SelfTradeBehavior: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
Side: BorshSerialize,
u64: BorshSerialize,
Vec<u8>: BorshSerialize,
bool: BorshSerialize,
bool: BorshSerialize,
SelfTradeBehavior: BorshSerialize,
impl BorshSerialize for DexInstruction where
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
impl BorshSerialize for DexInstruction where
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
Params: BorshSerialize,
impl BorshSerialize for AccountTag
impl BorshSerialize for AccountTag
impl BorshSerialize for Side
impl BorshSerialize for Side
impl BorshSerialize for SelfTradeBehavior
impl BorshSerialize for SelfTradeBehavior
impl BorshSerialize for DexState where
AccountTag: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for DexState where
AccountTag: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
i64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for UserAccountHeader where
AccountTag: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for UserAccountHeader where
AccountTag: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
u128: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
u128: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
impl BorshSerialize for Params where
u64: BorshSerialize,
impl BorshSerialize for Params where
u8: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
u8: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
Pubkey: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
Pubkey: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
Side: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
OrderType: BorshSerialize,
SelfTradeBehavior: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Params where
Side: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
OrderType: BorshSerialize,
SelfTradeBehavior: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for OrderType
impl BorshSerialize for OrderType
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Params
impl BorshSerialize for Hash
impl BorshSerialize for Hash
impl BorshSerialize for Hash
impl BorshSerialize for Hash
impl BorshSerialize for Pubkey
impl BorshSerialize for Pubkey
impl BorshSerialize for Secp256k1Pubkey
impl BorshSerialize for Secp256k1Pubkey