Enum Base

Source
pub enum Base {
Show 110 variants PropertyNotUpdated(String), SessionLimitExceeded, SourceDoesNotSupportProtocol(String, String), Success, NetworkNameResolutionNotConfigured, QueryParameterValueTypeError(String, String), ResourceDeprecated(String), ResourceAtUriUnauthorized(String, String), PropertyValueFormatError(String, String), PropertyValueConflict(String, String), HeaderInvalid(String), ServiceInUnknownState, ResourceMissingAtURI(String), ServiceDisabled(String), ResourceNotFound(String, String), PreconditionRequired, QueryNotSupportedOnOperation, CreateLimitReachedForResource, PropertyValueNotInList(String, String), PropertyValueModified(String, String), NetworkNameResolutionNotSupported, EventBufferExceeded, InternalError, NoValidSession, InsufficientStorage, ResourceInStandby, ActionParameterValueTypeError(String, String, String), StrictAccountTypes(String), CreateFailedMissingReqProperties(String), AccountNotModified, Created, AccountForSessionNoLongerExists, OperationTimeout, ActionDeprecated(String), ResourceInUse, EmptyJSON, QueryNotSupported, ChassisPowerStateOnRequired(String), PayloadTooLarge, CouldNotEstablishConnection(String), PropertyValueOutOfRange(String, String), UndeterminedFault(String), MaximumErrorsExceeded, LicenseRequired(String), AccessDenied(String), MalformedJSON, PropertyValueDeprecated(String, String), OperationFailed, InsufficientPrivilege, ActionParameterValueConflict(String, String), PreconditionFailed, ChassisPowerStateOffRequired(String), HeaderMissing(String), PropertyMissing(String), QueryParameterValueError(String), UnrecognizedRequestBody, ResourceCreationConflict(String), ActionParameterValueError(String, String), ArraySizeTooShort(String, f64), InvalidObject(String), ActionParameterUnknown(String, String), QueryCombinationInvalid, ActionNotSupported(String), SessionTerminated, NoOperation, ResetRecommended(String, String), AccountModified, ResourceAlreadyExists(String, String, String), MissingOrMalformedPart, InvalidJSON(f64), ActionParameterDuplicate(String, String), QueryParameterUnsupported(String), InvalidURI(String), AccountRemoved, QueryNotSupportedOnResource, ServiceShuttingDown, ResourceExhaustion(String), SubscriptionTerminated, ArraySizeTooLong(String, f64), ResourceCannotBeDeleted, InvalidIndex(f64), RestrictedRole(String), QueryParameterOutOfRange(String, String, String), ActionParameterValueNotInList(String, String, String), RestrictedPrivilege(String), ResourceTypeIncompatible(String, String), ResetRequired(String, String), PropertyValueIncorrect(String, String), ActionParameterMissing(String, String), ResourceAtUriInUnknownFormat(String), PropertyValueExternalConflict(String, String), PropertyUnknown(String), ActionParameterValueFormatError(String, String, String), ActionParameterNotSupported(String, String), StringValueTooLong(String, f64), PropertyValueResourceConflict(String, String, String), PropertyNotWritable(String), AuthenticationTokenRequired, ServiceTemporarilyUnavailable(String), ConditionInRelatedResource, PropertyDeprecated(String), PropertyDuplicate(String), PasswordChangeRequired(String), PropertyValueError(String), QueryParameterValueFormatError(String, String), EventSubscriptionLimitExceeded, OperationNotAllowed, GeneralError, PropertyValueTypeError(String, String), StringValueTooShort(String, f64),
}
Expand description

This registry defines the base messages for Redfish

Variants§

§

PropertyNotUpdated(String)

This message shall be used to indicate that a property was not updated due to an internal service error, but the service is still functional.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§

SessionLimitExceeded

This message shall be used to indicate that a session establishment has been requested but the operation failed due to the number of simultaneous sessions exceeding the limit of the implementation.

§

SourceDoesNotSupportProtocol(String, String)

This message shall be used to indicate that while attempting to access, connect to or transfer a resource, file, or image from another location that the other end of the connection did not support the protocol.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§1: String

This argument shall contain the name of the protocol requested for this operation.

§

Success

This message shall be used to indicate that all conditions of a successful operation have been met.

§

NetworkNameResolutionNotConfigured

This message shall be used to indicate that network-based name resolution, such as DNS or WINS protocols, has not been configured on the service.

§

QueryParameterValueTypeError(String, String)

This message shall be used to indicate that a query parameter was given the wrong value type, such as when a number is supplied for a query parameter that requires a string.

Tuple Fields

§0: String

This argument shall contain the value provided for the query parameter.

§1: String

This argument shall contain the name of the query parameter.

§

ResourceDeprecated(String)

This message shall be used to indicate that the resource is deprecated.

Tuple Fields

§0: String

This argument shall contain the URI of the resource that is deprecated.

§

ResourceAtUriUnauthorized(String, String)

This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unauthorized.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§1: String

This argument shall contain the error message received from the authorization service or software.

§

PropertyValueFormatError(String, String)

This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.

Tuple Fields

§0: String

This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string null.

§1: String

This argument shall contain the name of the property.

§

PropertyValueConflict(String, String)

This message shall be used to indicate that the requested write of a property could not be completed, because of a conflict with the value of another property.

Tuple Fields

§0: String

This argument shall contain the name of the property for which a write was requested.

§1: String

This argument shall contain the name of the property with which there is a conflict.

§

HeaderInvalid(String)

This message shall be used to indicate that a request header is known, but is invalid.

Tuple Fields

§0: String

This argument shall contain the full request header, including the field name and field value.

§

ServiceInUnknownState

This message shall be used to indicate that the operation failed because the service is in an unknown state and cannot accept additional requests.

§

ResourceMissingAtURI(String)

This message shall be used to indicate that the operation expected an image or other resource at the provided URI but none was found.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§

ServiceDisabled(String)

This message shall be used to indicate that the operation failed because the service, such as the account service, is disabled and cannot accept requests.

Tuple Fields

§0: String

This argument shall contain the URI of the disabled service.

§

ResourceNotFound(String, String)

This message shall be used to indicate that the operation expected a resource identifier that corresponds to an existing resource but one was not found.

Tuple Fields

§0: String

This argument shall contain the schema name of the resource.

§1: String

This argument shall contain the value of the Id property of the requested resource.

§

PreconditionRequired

Indicates that the request did not provide the required precondition such as an If-Match or If-None-Match header, or @odata.etag annotations. The use of this message shall only be used in responses for deep operations, since HTTP status code 428 is typically used for this.

§

QueryNotSupportedOnOperation

This message shall be used to indicate that query is not supported with the given operation.

§

CreateLimitReachedForResource

This message shall be used to indicate that no more resources can be created on the resource as it has reached its create limit.

§

PropertyValueNotInList(String, String)

This message shall be used to indicate that a property was given the correct value type but the value of that property was not supported.

Tuple Fields

§0: String

This argument shall contain the value provided for the property.

§1: String

This argument shall contain the name of the property.

§

PropertyValueModified(String, String)

This message shall be used to indicate that a property was given the correct value type but the value of that property was modified.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§1: String

This argument shall contain the value assigned for property.

§

NetworkNameResolutionNotSupported

This message shall be used to indicate that the service does not support network-based name resolution, such as DNS or WINS protocols. URIs provided as property values must contain an IP address as the service cannot resolve a network name.

§

EventBufferExceeded

This message shall be used to indicate that event buffer space used by the service has been exceeded, and as a result, one or more undelivered events may have been lost.

§

InternalError

This message shall be used to indicate that the request failed for an unknown internal error but that the service is still operational.

§

NoValidSession

This message shall be used to indicate that the operation failed because a valid session is required in order to access any resources.

§

InsufficientStorage

This message shall be used to indicate that the request exceeds the storage or memory available to the serivce. For cases where the payload is larger than the maximum size supported, regardless of available storage, the message PayloadTooLarge shall be used.

§

ResourceInStandby

This message shall be used to indicate that the request could not be performed because the resource is in standby.

§

ActionParameterValueTypeError(String, String, String)

This message shall be used to indicate that a parameter was given the wrong value type, such as when a number is supplied for a parameter that requires a string.

Tuple Fields

§0: String

This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string null.

§1: String

This argument shall contain the name of the action parameter.

§2: String

This argument shall contain the name of the action.

§

StrictAccountTypes(String)

This message shall be used to indicate that the request failed because a set of AccountTypes or OEMAccountTypes was not accepted while StrictAccountTypes is set to true.

Tuple Fields

§0: String

This argument shall contain the name of the property AccountTypes or OEMAccountTypes.

§

CreateFailedMissingReqProperties(String)

This message shall be used to indicate that a create was attempted on a resource but that properties that are required for the create operation were missing from the request.

Tuple Fields

§0: String

This argument shall contain the name of the required property.

§

AccountNotModified

This message shall be used to indicate that the modification requested for the account was not successful.

§

Created

This message shall be used to indicate that all conditions of a successful create operation have been met.

§

AccountForSessionNoLongerExists

This message shall be used to indicate that the account for the session has been removed, thus the session has been removed as well.

§

OperationTimeout

This message shall be used to indicate that one of the internal operations necessary to complete the request timed out. Partial results of the client operation may be returned.

§

ActionDeprecated(String)

This message shall be used to indicate that the action is deprecated.

Tuple Fields

§0: String

This argument shall contain the name of the action that is deprecated.

§

ResourceInUse

This message shall be used to indicate that a change was requested to a resource but the change was rejected due to the resource being in use or transition.

§

EmptyJSON

This message shall be used to indicate that the request body contained an empty JSON object when one or more properties are expected in the body.

§

QueryNotSupported

This message shall be used to indicate that query is not supported on the implementation.

§

ChassisPowerStateOnRequired(String)

This message shall be used to indicate that the request requires the specified chassis to be powered on as indicated by its PowerState property.

Tuple Fields

§0: String

The value of this argument shall be a string containing the value of the Id property of the chassis that requires to be powered on.

§

PayloadTooLarge

This message shall be used to indicate that the payload supplied exceeds the size supported by the service. For cases where the payload size is supported, but there is insufficent available storage space, the message InsufficientStorage shall be used.

§

CouldNotEstablishConnection(String)

This message shall be used to indicate that the attempt to access the resource, file, or image at the URI was unsuccessful because a session could not be established.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§

PropertyValueOutOfRange(String, String)

This value shall be used to indicate that a property was given the correct value type but the value of that property is outside the supported range.

Tuple Fields

§0: String

This argument shall contain the value provided for the property.

§1: String

This argument shall contain the name of the property.

§

UndeterminedFault(String)

This message shall be used to indicate that a fault or error condition has been reported to the service, but the source of the fault cannot be determined or is unknown to the service.

Tuple Fields

§0: String

This argument shall contain the name of the entity that reported the fault condition.

§

MaximumErrorsExceeded

The maximum number of errors that the implementation can report has been exceeded. This shall not be the only message reported by the service. The use of this message should be limited to RDE implementations.

§

LicenseRequired(String)

This message shall be used to indicate that that a license is required to perform the requested operation.

Tuple Fields

§0: String

This argument shall contain the vendor description of the license required to perform the operation.

§

AccessDenied(String)

This message shall be used to indicate that while attempting to access, connect to, or transfer to or from another resource, the service denied access.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§

MalformedJSON

This message shall be used to indicate that the request body was malformed JSON.

§

PropertyValueDeprecated(String, String)

This message shall be used to indicate that a property was given a deprecated value.

Tuple Fields

§0: String

This argument shall contain the deprecated value provided for the property.

§1: String

This argument shall contain the name of the property.

§

OperationFailed

This message shall be used to indicate that one of the internal operations necessary to complete the request failed. Partial results of the client operation may be returned.

§

InsufficientPrivilege

This message shall be used to indicate that the credentials associated with the established session do not have sufficient privileges for the requested operation.

§

ActionParameterValueConflict(String, String)

This message shall be used to indicate that the requested parameter value could not be completed, because of a mismatch with other parameters or properties in the resource.

Tuple Fields

§0: String

This argument shall contain the name of the parameter provided in the action request.

§1: String

This argument shall contain the value of the parameter with which there is a conflict.

§

PreconditionFailed

Indicates that the ETag supplied either in the header or using that @odata.etag annotation in the resource did not match the one expected by the service and thus the operation on this resource failed. The use of this message shall only be used in responses for deep operations, since HTTP status code 412 is typically used for this.

§

ChassisPowerStateOffRequired(String)

This message shall be used to indicate that the request requires the specified chassis to be powered off as indicated by its PowerState property.

Tuple Fields

§0: String

The value of this argument shall be a string containing the value of the Id property of the chassis that requires to be powered off.

§

HeaderMissing(String)

This message shall be used to indicate that a required request header is missing in the request.

Tuple Fields

§0: String

This argument shall contain the missing required request header.

§

PropertyMissing(String)

This message shall be used to indicate that a required property was not supplied as part of the request.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§

QueryParameterValueError(String)

This message shall be used to indicate that a query parameter was given an invalid value that can not or should not be included in the message.

Tuple Fields

§0: String

This argument shall contain the name of the query parameter.

§

UnrecognizedRequestBody

This message shall be used to indicate that the service encountered an unrecognizable request body that could not even be interpreted as malformed JSON.

§

ResourceCreationConflict(String)

This message shall be used to indicate that the requested creation of a resource could not be completed because the service has a resource that conflicts with the request, such as when the resource already exists or an existing resource has similar property values.

Tuple Fields

§0: String

This argument shall contain the URI of the resource with which there is a conflict.

§

ActionParameterValueError(String, String)

This message shall be used to indicate that a parameter was given an invalid value, and the value cannot or should not be included in the message.

Tuple Fields

§0: String

This argument shall contain the name of the action parameter.

§1: String

This argument shall contain the name of the action.

§

ArraySizeTooShort(String, f64)

This message shall be used to indicate that the size of the array is under the minimum number of elements.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§1: f64

This argument shall contain the minimum number of elements supported for the array for this property.

§

InvalidObject(String)

This message shall be used to indicate that the object in question is invalid according to the implementation.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§

ActionParameterUnknown(String, String)

This message shall be used to indicate that an action was submitted but an action parameter supplied did not match any of the known parameters.

Tuple Fields

§0: String

This argument shall contain the name of the action.

§1: String

This argument shall contain the name of the action parameter.

§

QueryCombinationInvalid

This message shall be used to indicate that the request contains multiple query parameters, and that two or more of them cannot be used together.

§

ActionNotSupported(String)

This message shall be used to indicate that the action supplied with the POST operation is not supported by the resource.

Tuple Fields

§0: String

This argument shall contain the name of the action.

§

SessionTerminated

This message shall be used to indicate that the DELETE operation on the session resource resulted in the successful termination of the session.

§

NoOperation

This message shall be used to indicate that the requested operation will not perform any changes on the service.

§

ResetRecommended(String, String)

This message shall be used to indicate that a component reset is recommended for error recovery while unaffected applications can continue running without any effects on accuracy and performance.

Tuple Fields

§0: String

This argument shall contain the URI for the reset action that is recommended to be invoked for error recovery.

§1: String

This argument shall contain the ResetType required in a reset action on the component URI for error recovery while unaffected applications can continue running without any effects on accuracy and performance. A reset action POST shall contain this ResetType parameter.

§

AccountModified

This message shall be used to indicate that the account was successfully modified.

§

ResourceAlreadyExists(String, String, String)

This message shall be used to indicate that a resource change or creation was attempted but that the operation cannot proceed because the resource already exists.

Tuple Fields

§0: String

This argument shall contain the schema name of the resource.

§1: String

This argument shall contain the name of the property.

§2: String

This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string null.

§

MissingOrMalformedPart

This message shall be used to indicate that the request payload supplied as part of an HTTP multipart request is missing one or more required parts or contains malformed parts.

§

InvalidJSON(f64)

This message shall be used to indicate that the request body contains invalid JSON.

Tuple Fields

§0: f64

The value of this argument shall contain the line number where the invalid JSON starts.

§

ActionParameterDuplicate(String, String)

This message shall be used to indicate that the action was supplied with a duplicated action parameter in the request body.

Tuple Fields

§0: String

This argument shall contain the name of the action.

§1: String

This argument shall contain the name of the action parameter.

§

QueryParameterUnsupported(String)

This message shall be used to indicate that a query parameter is not supported by this service.

Tuple Fields

§0: String

This argument shall contain the name of the query parameter.

§

InvalidURI(String)

This message shall be used to indicate that the operation encountered a URI that does not correspond to a valid resource.

Tuple Fields

§0: String

This argument shall contain the invalid URI that was encountered.

§

AccountRemoved

This message shall be used to indicate that the account was successfully removed.

§

QueryNotSupportedOnResource

This message shall be used to indicate that query is not supported on the given resource.

§

ServiceShuttingDown

This message shall be used to indicate that the operation failed as the service is shutting down.

§

ResourceExhaustion(String)

This message shall be used to indicate that a resource could not satisfy the request due to some unavailability of resources.

Tuple Fields

§0: String

This argument shall contain the URI of the relevant resource.

§

SubscriptionTerminated

This message shall be used to indicate that an event subscription has been terminated by the service.

§

ArraySizeTooLong(String, f64)

This message shall be used to indicate that the size of the array exceeded the maximum number of elements.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§1: f64

This argument shall contain the maximum number of elements supported for the array for this property.

§

ResourceCannotBeDeleted

This message shall be used to indicate that a delete operation was attempted on a resource that cannot be deleted.

§

InvalidIndex(f64)

This message shall be used to indicate that the index is not valid.

Tuple Fields

§0: f64

This argument shall contain the array index value provided.

§

RestrictedRole(String)

This message shall be used to indicate that the operation was not successful because the role is restricted.

Tuple Fields

§0: String

This argument shall contain the name of the restricted role.

§

QueryParameterOutOfRange(String, String, String)

This message shall be used to indicate that a query parameter was provided that is out of range for the given resource.

Tuple Fields

§0: String

This argument shall contain the value provided for the query parameter.

§1: String

This argument shall contain the name of the query parameter.

§2: String

This argument shall contain a string representation of the valid range of values supported for the query parameter.

§

ActionParameterValueNotInList(String, String, String)

This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.

Tuple Fields

§0: String

This argument shall contain the value provided for the action parameter.

§1: String

This argument shall contain the name of the action parameter.

§2: String

This argument shall contain the name of the action.

§

RestrictedPrivilege(String)

This message shall be used to indicate that the operation was not successful because a privilege is restricted.

Tuple Fields

§0: String

This argument shall contain the name of the restricted privilege.

§

ResourceTypeIncompatible(String, String)

This message shall be used to indicate that the resource type of the operation does not match that for the operation destination.

Tuple Fields

§0: String

This argument shall contain the value of the @odata.type property provided in the request.

§1: String

This argument shall contain the value of the @odata.type property supported by the resource.

§

ResetRequired(String, String)

This message shall be used to indicate that a component reset is required for changes, error recovery, or operations to complete.

Tuple Fields

§0: String

This argument shall contain the URI for the reset action that is required to be invoked for changes, error recovery or operations to complete.

§1: String

This argument shall contain the ResetType required in a reset action on the component URI for changes, error recovery or operations to complete. A reset action POST shall contain this ResetType parameter.

§

PropertyValueIncorrect(String, String)

This message shall be used to indicate that the requested write of a property could not be completed, because of an incorrect value of the property such as when it does not meet the constraints of the implementation or match the regular expression requirements.

Tuple Fields

§0: String

This argument shall contain the name of the property for which a write was requested.

§1: String

This argument shall contain the value of the property that is incorrect.

§

ActionParameterMissing(String, String)

This message shall be used to indicate that the action requested was missing an action parameter that is required to process the action.

Tuple Fields

§0: String

This argument shall contain the name of the action.

§1: String

This argument shall contain the name of the action parameter.

§

ResourceAtUriInUnknownFormat(String)

This message shall be used to indicate that the URI was valid but the resource or image at that URI was in a format not supported by the service.

Tuple Fields

§0: String

This argument shall contain the URI provided for this operation.

§

PropertyValueExternalConflict(String, String)

This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of the resource.

Tuple Fields

§0: String

This argument shall contain the name of the property for which a write was requested.

§1: String

This argument shall contain the value of the property that is in conflict.

§

PropertyUnknown(String)

This message shall be used to indicate that an unknown property was included in the request body.

Tuple Fields

§0: String

This argument shall contain the name of the unknown property.

§

ActionParameterValueFormatError(String, String, String)

This message shall be used to indicate that a parameter was given the correct value type but the value of that parameter was not supported.

Tuple Fields

§0: String

This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string null.

§1: String

This argument shall contain the name of the action parameter.

§2: String

This argument shall contain the name of the action.

§

ActionParameterNotSupported(String, String)

This message shall be used to indicate that the parameter supplied for the action is not supported on the resource.

Tuple Fields

§0: String

This argument shall contain the name of the action parameter.

§1: String

This argument shall contain the name of the action.

§

StringValueTooLong(String, f64)

This message shall be used to indicate that a string value passed to the given resource exceeded its length limit.

Tuple Fields

§0: String

This argument shall contain the string value provided for this operation.

§1: f64

This argument shall contain the maximum supported string length for this property.

§

PropertyValueResourceConflict(String, String, String)

This message shall be used to indicate that the requested write of a property could not be completed, because the requested value of the property, which is a value supported by the implementation, cannot be accepted due to conflicts in the state or configuration of another resource.

Tuple Fields

§0: String

This argument shall contain the name of the property for which a write was requested.

§1: String

This argument shall contain the value of the property that is in conflict.

§2: String

This argument shall contain the URI of the resource that is in conflict with the value of the requested property.

§

PropertyNotWritable(String)

This message shall be used to indicate that a property was given a value in the request body, but the property is a readonly property.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§

AuthenticationTokenRequired

This message shall be used to indicate that the request could not be performed because the user provided in the request requires multifactor authentication and an authentication token was not provided.

§

ServiceTemporarilyUnavailable(String)

This message shall be used to indicate that the service is temporarily unavailable.

Tuple Fields

§0: String

This argument shall contain the number of seconds the client should wait before attempting the operation again.

§

ConditionInRelatedResource

This message shall be used to indicate that one or more conditions that require attention exist in a resource that affects the Health or HealthRollup of this resource. This message can be used in place of multiple messages in a Conditions property to roll up conditions from a single resource. The resource can be located using the OriginOfCondition property. The value of the MessageSeverity property should match the highest severity of any conditions in the resource referenced by the OriginOfCondition property.

§

PropertyDeprecated(String)

This message shall be used to indicate that the property is deprecated.

Tuple Fields

§0: String

This argument shall contain the name of the property that is deprecated.

§

PropertyDuplicate(String)

This message shall be used to indicate that a duplicate property was included in the request body.

Tuple Fields

§0: String

This argument shall contain the name of the duplicate property.

§

PasswordChangeRequired(String)

This message shall be used to indicate that the password for the account provided must be changed before accessing the service. The password can be changed with a PATCH to the Password property in the manager account resource instance. Implementations that provide a default password for an account may require a password change prior to first access to the service.

Tuple Fields

§0: String

This argument shall contain the URI of the target manager account resource instance.

§

PropertyValueError(String)

This message shall be used to indicate that a property was given an invalid value, and the value cannot or should not be included in the message text.

Tuple Fields

§0: String

This argument shall contain the name of the property.

§

QueryParameterValueFormatError(String, String)

This message shall be used to indicate that a query parameter was given the correct value type but the value of that parameter was not supported.

Tuple Fields

§0: String

This argument shall contain the value provided for the query parameter.

§1: String

This argument shall contain the name of the query parameter.

§

EventSubscriptionLimitExceeded

This message shall be used to indicate that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.

§

OperationNotAllowed

This message shall be used to indicate that the HTTP method in the request is not allowed on this resource. This error message should be used together with status code 405 Method Not Allowed.

§

GeneralError

This message shall be used to indicate that a general error has occurred. Implementations should not use this message in @Message.ExtendedInfo. If used in @Message.ExtendedInfo, implementations should include a Resolution property with this message and provide a service-defined resolution to indicate how to resolve the error.

§

PropertyValueTypeError(String, String)

This message shall be used to indicate that a property was given the wrong value type.

Tuple Fields

§0: String

This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string null.

§1: String

This argument shall contain the name of the property.

§

StringValueTooShort(String, f64)

This message shall be used to indicate that a string value passed to the given resource was under its minimum required length.

Tuple Fields

§0: String

This argument shall contain the string value provided for this operation.

§1: f64

This argument shall contain the minimum supported string length for this property.

Trait Implementations§

Source§

impl Clone for Base

Source§

fn clone(&self) -> Base

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Base

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Into<Message> for Base

Source§

fn into(self) -> Message

Converts this type into the (usually inferred) input type.

Auto Trait Implementations§

§

impl Freeze for Base

§

impl RefUnwindSafe for Base

§

impl Send for Base

§

impl Sync for Base

§

impl Unpin for Base

§

impl UnwindSafe for Base

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.