pub struct ScSpecUdtUnionV0 {
pub doc: StringM<1024>,
pub lib: StringM<80>,
pub name: StringM<60>,
pub cases: VecM<ScSpecUdtUnionCaseV0, 50>,
}Expand description
ScSpecUdtUnionV0 is an XDR Struct defines as:
struct SCSpecUDTUnionV0
{
string doc<SC_SPEC_DOC_LIMIT>;
string lib<80>;
string name<60>;
SCSpecUDTUnionCaseV0 cases<50>;
};Fields§
§doc: StringM<1024>§lib: StringM<80>§name: StringM<60>§cases: VecM<ScSpecUdtUnionCaseV0, 50>Trait Implementations§
Source§impl Clone for ScSpecUdtUnionV0
impl Clone for ScSpecUdtUnionV0
Source§fn clone(&self) -> ScSpecUdtUnionV0
fn clone(&self) -> ScSpecUdtUnionV0
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScSpecUdtUnionV0
impl Debug for ScSpecUdtUnionV0
Source§impl Default for ScSpecUdtUnionV0
impl Default for ScSpecUdtUnionV0
Source§fn default() -> ScSpecUdtUnionV0
fn default() -> ScSpecUdtUnionV0
Returns the “default value” for a type. Read more
Source§impl Hash for ScSpecUdtUnionV0
impl Hash for ScSpecUdtUnionV0
Source§impl Ord for ScSpecUdtUnionV0
impl Ord for ScSpecUdtUnionV0
Source§fn cmp(&self, other: &ScSpecUdtUnionV0) -> Ordering
fn cmp(&self, other: &ScSpecUdtUnionV0) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScSpecUdtUnionV0
impl PartialEq for ScSpecUdtUnionV0
Source§impl PartialOrd for ScSpecUdtUnionV0
impl PartialOrd for ScSpecUdtUnionV0
Source§impl ReadXdr for ScSpecUdtUnionV0
impl ReadXdr for ScSpecUdtUnionV0
Source§fn read_xdr<R>(r: &mut Limited<R>) -> Result<ScSpecUdtUnionV0, Error>where
R: Read,
fn read_xdr<R>(r: &mut Limited<R>) -> Result<ScSpecUdtUnionV0, Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
Read the XDR and construct the type, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR into the existing value, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
Create an iterator that reads the read implementation as a stream of
values that are read into the implementing type. Read more
Source§impl WriteXdr for ScSpecUdtUnionV0
impl WriteXdr for ScSpecUdtUnionV0
impl Eq for ScSpecUdtUnionV0
impl StructuralPartialEq for ScSpecUdtUnionV0
Auto Trait Implementations§
impl Freeze for ScSpecUdtUnionV0
impl RefUnwindSafe for ScSpecUdtUnionV0
impl Send for ScSpecUdtUnionV0
impl Sync for ScSpecUdtUnionV0
impl Unpin for ScSpecUdtUnionV0
impl UnwindSafe for ScSpecUdtUnionV0
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