pub struct BinaryObjectBuilder { /* private fields */ }Implementations§
Source§impl BinaryObjectBuilder
impl BinaryObjectBuilder
pub fn new(type_name: &str) -> Self
pub fn set_value(self, name: &str, v: &IgniteValue) -> Self
pub fn set_bool(self, name: &str, v: bool) -> Self
pub fn set_i8(self, name: &str, v: i8) -> Self
pub fn set_i16(self, name: &str, v: i16) -> Self
pub fn set_i32(self, name: &str, v: i32) -> Self
pub fn set_i64(self, name: &str, v: i64) -> Self
pub fn set_f32(self, name: &str, v: f32) -> Self
pub fn set_f64(self, name: &str, v: f64) -> Self
pub fn set_char(self, name: &str, v: u16) -> Self
pub fn set_string(self, name: &str, v: &str) -> Self
pub fn set_object(self, name: &str, o: &BinaryObject) -> Self
pub fn set_i32_array(self, name: &str, v: &[i32]) -> Self
pub fn set_string_array(self, name: &str, v: &[Option<String>]) -> Self
pub fn set_int_list(self, name: &str, v: &[i32]) -> Self
pub fn set_string_int_map(self, name: &str, kv: &[(String, i32)]) -> Self
pub fn set_enum(self, name: &str, type_id: i32, ordinal: i32) -> Self
pub fn build(self) -> BinaryObject
Auto Trait Implementations§
impl Freeze for BinaryObjectBuilder
impl RefUnwindSafe for BinaryObjectBuilder
impl Send for BinaryObjectBuilder
impl Sync for BinaryObjectBuilder
impl Unpin for BinaryObjectBuilder
impl UnsafeUnpin for BinaryObjectBuilder
impl UnwindSafe for BinaryObjectBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more