pub struct Relation {
pub id: i64,
pub keys: Vec<u32>,
pub vals: Vec<u32>,
pub info: Option<Info>,
pub roles_sid: Vec<i32>,
pub memids: Vec<i64>,
pub types: Vec<MemberType>,
}
Fields§
§id: i64
§keys: Vec<u32>
§vals: Vec<u32>
§info: Option<Info>
§roles_sid: Vec<i32>
§memids: Vec<i64>
§types: Vec<MemberType>
Trait Implementations§
Source§impl<'a> MessageRead<'a> for Relation
impl<'a> MessageRead<'a> for Relation
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Relation
impl MessageWrite for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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