pub struct IdentifierStruct {
pub identifier: Identifier,
pub class_name: String,
pub type_name: String,
pub object_name: String,
pub broker_name: String,
pub broker_type_name: String,
}Fields§
§identifier: Identifier§class_name: String§type_name: String§object_name: String§broker_name: String§broker_type_name: StringImplementations§
Source§impl IdentifierStruct
impl IdentifierStruct
pub fn to_identifier(&self) -> Identifier
pub fn to_broker_manifest(&self) -> Value
pub fn to_manifest(&self) -> Value
pub fn set_class_name<'a>( &'a mut self, class_name: &str, ) -> &'a IdentifierStruct
pub fn new_object( broker_type: &str, broker_name: &str, class_name: &str, object_type: &str, object_name: &str, ) -> Self
pub fn new_broker(broker_type: &str, broker_name: &str) -> Self
pub fn new_broker_id(id: Identifier) -> JuizResult<Self>
pub fn from_broker_identifier(identifier: &Identifier) -> JuizResult<Self>
Trait Implementations§
Source§impl Debug for IdentifierStruct
impl Debug for IdentifierStruct
Source§impl Into<String> for IdentifierStruct
impl Into<String> for IdentifierStruct
Source§fn into(self) -> Identifier
fn into(self) -> Identifier
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for IdentifierStruct
impl PartialEq for IdentifierStruct
Source§impl TryFrom<String> for IdentifierStruct
impl TryFrom<String> for IdentifierStruct
impl StructuralPartialEq for IdentifierStruct
Auto Trait Implementations§
impl Freeze for IdentifierStruct
impl RefUnwindSafe for IdentifierStruct
impl Send for IdentifierStruct
impl Sync for IdentifierStruct
impl Unpin for IdentifierStruct
impl UnwindSafe for IdentifierStruct
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.