Struct jaded::ObjectData

source ·
pub struct ObjectData { /* private fields */ }
Expand description

Object data representing serialized Java object

Gives access to field data and class as well as any raw data added via a custom writeObject/writeExternal method.

Implementations§

Get the fully qualified class name of the type of this object

Get the value associated with a field if it exists

None indicates that the field is not present. A null value will be returned as Some(Value::Null).

Get field and convert to Rust entity

Get the annotations written by a class in this object’s class hierachy

eg if Child extends Parent, then get_annotation(0) on an instance of Child will return the annotations written by Parent and get_annotation(1) will return annotations written by Child.

Get the total number of object annotations added to this object by any of the classes in its class hierarchy.

Get the number of fields written for this object

Trait Implementations§

Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.